Exemplo n.º 1
0
 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.getMessage());
   }
 }
Exemplo n.º 2
0
 private void readObject(java.io.ObjectInputStream in)
     throws java.io.IOException, ClassNotFoundException {
   try {
     // it doesn't seem like you should have to do this, but java serialization is wacky, and
     // doesn't call the default constructor.
     __isset_bitfield = 0;
     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.getMessage());
   }
 }