protected class TcpProxy.ClientContext extends Object
interface PayloadHandler {
void toBytes(ByteBuffer buffer) ;
void fromBytes(ByteBuffer buffer) ;
}
(these based on ByteBuffer with gatheringbytebuffer)
the protocol will be that the client send a name and the name of a Protocol so for instance if protocole is "smurfCard" the corresponding class will be somepackage.ProtocolSmurfCard that will implement PayloadHandler
Copyright © 2014 LSST. All rights reserved.