view rep/channel/REPPack.java @ 470:7f0d4e49eaf9

add assert
author one
date Mon, 11 Oct 2010 21:12:46 +0900
parents 3c82100cdadd
children
line wrap: on
line source

package rep.channel;

import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;

public interface REPPack<P> {

	public ByteBuffer packUConv(P command);

	public P unpackUConv(SocketChannel sc) throws IOException ;


}