コード例 #1
0
ファイル: ZprotoExample.java プロジェクト: asokoloski/zproto
 public static void sendBinary(
     Socket output,
     ZFrame routingId,
     int sequence,
     byte[] flags,
     byte[] public_key,
     UUID identifier,
     ZFrame address,
     ZMsg content) {
   ZprotoExample self = new ZprotoExample(ZprotoExample.BINARY);
   if (routingId != null) {
     self.setRoutingId(routingId);
   }
   self.setSequence(sequence);
   self.setFlags(flags);
   self.setPublic_Key(public_key);
   self.setIdentifier(identifier);
   self.setAddress(address.duplicate());
   self.setContent(content.duplicate());
   self.send(output);
 }