All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jeesuite.filesystem.sdk.fdfs.exchange.Requestor Maven / Gradle / Ivy

There is a newer version: 1.3.6
Show newest version
/**
 *
 */
package com.jeesuite.filesystem.sdk.fdfs.exchange;

import io.netty.buffer.ByteBufAllocator;
import io.netty.channel.Channel;

import java.util.List;

/**
 * 发送器
 *
 * @author liulongbiao
 */
public interface Requestor {

    /**
     * @param channel
     */
    void request(Channel channel);

    /**
     *
     */
    interface Encoder {

        /**
         * @param alloc
         */
        List encode(ByteBufAllocator alloc);
    }
}