private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
public void read(org.apache.thrift.protocol.TProtocol iprot, onEndpointDeregistration_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); }
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 onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; onEndpointDeregistration_result result = new onEndpointDeregistration_result(); { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch (Exception ex) { LOGGER.error("Exception writing to internal frame buffer", ex); } fb.close(); } };
public onEndpointDeregistration_result deepCopy() { return new onEndpointDeregistration_result(this); }
public void write(org.apache.thrift.protocol.TProtocol oprot, onEndpointDeregistration_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void onComplete(Void o) { onEndpointDeregistration_result result = new onEndpointDeregistration_result(); try { fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch (Exception e) { LOGGER.error("Exception writing to internal frame buffer", e); } fb.close(); } public void onError(Exception e) {
public void recv_onEndpointDeregistration() throws org.apache.thrift.TException { onEndpointDeregistration_result result = new onEndpointDeregistration_result(); receiveBase(result, "onEndpointDeregistration"); return; }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof onEndpointDeregistration_result) return this.equals((onEndpointDeregistration_result)that); return false; }
public onEndpointDeregistration_result getResult(I iface, onEndpointDeregistration_args args) throws org.apache.thrift.TException { onEndpointDeregistration_result result = new onEndpointDeregistration_result(); iface.onEndpointDeregistration(args.message); return result; } }