Ejemplo n.º 1
0
 public ClientToServer(VodAddress src, VodAddress dest, int remoteClientID, DirectMsg msg) {
   super(src, dest, remoteClientID, msg.getTimeoutId());
   if (msg instanceof Encodable == false) {
     throw new IllegalArgumentException("Message not encodable of type: " + msg.getClass());
   }
   this.message = (Encodable) msg;
 }