@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, WorkerToken struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeI32(struct.serviceType.getValue()); oprot.writeBinary(struct.info); oprot.writeBinary(struct.signature); }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, ThriftSerializedObject struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.name); oprot.writeBinary(struct.bits); }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, PrivateWorkerKey struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.key); oprot.writeString(struct.userName); oprot.writeI64(struct.expirationTimeMillis); }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, HBPulse struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.id); java.util.BitSet optionals = new java.util.BitSet(); if (struct.is_set_details()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.is_set_details()) { oprot.writeBinary(struct.details); } }
for (java.nio.ByteBuffer _iter88 : struct.worker_hooks) oprot.writeBinary(_iter88);
@Override public void write(org.apache.thrift.protocol.TProtocol prot, ThriftSerializedObject struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeString(struct.name); oprot.writeBinary(struct.bits); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, HBPulse struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeString(struct.id); BitSet optionals = new BitSet(); if (struct.is_set_details()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.is_set_details()) { oprot.writeBinary(struct.details); } }
for (ByteBuffer _iter74 : struct.worker_hooks) oprot.writeBinary(_iter74);