Mercurial > hg > RemoteEditor > REPSessionManager
annotate rep/channel/REPPack.java @ 287:1ff8bfc0a99a test-editor
*** empty log message ***
author | kono |
---|---|
date | Sun, 28 Sep 2008 15:46:36 +0900 |
parents | 3c82100cdadd |
children |
rev | line source |
---|---|
147 | 1 package rep.channel; |
2 | |
184 | 3 import java.io.IOException; |
147 | 4 import java.nio.ByteBuffer; |
184 | 5 import java.nio.channels.SocketChannel; |
147 | 6 |
7 public interface REPPack<P> { | |
8 | |
184 | 9 public ByteBuffer packUConv(P command); |
10 | |
11 public P unpackUConv(SocketChannel sc) throws IOException ; | |
12 | |
147 | 13 |
14 } |