@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, SpoutSpec struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.spout_object.write(oprot); struct.common.write(oprot); }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, StateSpoutSpec struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.state_spout_object.write(oprot); struct.common.write(oprot); }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, Bolt struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.bolt_object.write(oprot); struct.common.write(oprot); }
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.storm.thrift.protocol.TCompactProtocol(new org.apache.storm.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.storm.thrift.TException te) { throw new java.io.IOException(te); } }
public void write(org.apache.storm.thrift.protocol.TProtocol oprot, Bolt struct) throws org.apache.storm.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.bolt_object != null) { oprot.writeFieldBegin(BOLT_OBJECT_FIELD_DESC); struct.bolt_object.write(oprot); oprot.writeFieldEnd(); } if (struct.common != null) { oprot.writeFieldBegin(COMMON_FIELD_DESC); struct.common.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.storm.thrift.protocol.TProtocol oprot, StateSpoutSpec struct) throws org.apache.storm.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.state_spout_object != null) { oprot.writeFieldBegin(STATE_SPOUT_OBJECT_FIELD_DESC); struct.state_spout_object.write(oprot); oprot.writeFieldEnd(); } if (struct.common != null) { oprot.writeFieldBegin(COMMON_FIELD_DESC); struct.common.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.storm.thrift.protocol.TProtocol oprot, SpoutSpec struct) throws org.apache.storm.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.spout_object != null) { oprot.writeFieldBegin(SPOUT_OBJECT_FIELD_DESC); struct.spout_object.write(oprot); oprot.writeFieldEnd(); } if (struct.common != null) { oprot.writeFieldBegin(COMMON_FIELD_DESC); struct.common.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, Bolt struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.bolt_object.write(oprot); struct.common.write(oprot); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, StateSpoutSpec struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.state_spout_object.write(oprot); struct.common.write(oprot); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, SpoutSpec struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.spout_object.write(oprot); struct.common.write(oprot); }
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
public void write(org.apache.thrift.protocol.TProtocol oprot, SpoutSpec struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.spout_object != null) { oprot.writeFieldBegin(SPOUT_OBJECT_FIELD_DESC); struct.spout_object.write(oprot); oprot.writeFieldEnd(); } if (struct.common != null) { oprot.writeFieldBegin(COMMON_FIELD_DESC); struct.common.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, Bolt struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.bolt_object != null) { oprot.writeFieldBegin(BOLT_OBJECT_FIELD_DESC); struct.bolt_object.write(oprot); oprot.writeFieldEnd(); } if (struct.common != null) { oprot.writeFieldBegin(COMMON_FIELD_DESC); struct.common.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, StateSpoutSpec struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.state_spout_object != null) { oprot.writeFieldBegin(STATE_SPOUT_OBJECT_FIELD_DESC); struct.state_spout_object.write(oprot); oprot.writeFieldEnd(); } if (struct.common != null) { oprot.writeFieldBegin(COMMON_FIELD_DESC); struct.common.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }