/** * Used by NIO or AIO transports; note that the size is not written as part * of this method. */ public void tightMarshal2(Object o, DataOutput ds, BooleanStream bs) throws IOException { if (cacheEnabled) { runMarshallCacheEvictionSweep(); } if (o != null) { DataStructure c = (DataStructure)o; byte type = c.getDataStructureType(); DataStreamMarshaller dsm = dataMarshallers[type & 0xFF]; if (dsm == null) { throw new IOException("Unknown data type: " + type); } ds.writeByte(type); bs.marshal(ds); dsm.tightMarshal2(this, c, ds, bs); } }
bs.marshal(dataOut); dsm.tightMarshal2(this, c, dataOut, bs);
bs.marshal(writeBuffer);
/** * Used by NIO or AIO transports; note that the size is not written as part * of this method. */ public void tightMarshal2(Object o, DataOutput ds, BooleanStream bs) throws IOException { if (cacheEnabled) { runMarshallCacheEvictionSweep(); } if (o != null) { DataStructure c = (DataStructure)o; byte type = c.getDataStructureType(); DataStreamMarshaller dsm = dataMarshallers[type & 0xFF]; if (dsm == null) { throw new IOException("Unknown data type: " + type); } ds.writeByte(type); bs.marshal(ds); dsm.tightMarshal2(this, c, ds, bs); } }
bs.marshal(dataOut);
/** * Used by NIO or AIO transports; note that the size is not written as part * of this method. */ public void tightMarshal2(Object o, DataOutput ds, BooleanStream bs) throws IOException { if (cacheEnabled) { runMarshallCacheEvictionSweep(); } if (o != null) { DataStructure c = (DataStructure)o; byte type = c.getDataStructureType(); DataStreamMarshaller dsm = dataMarshallers[type & 0xFF]; if (dsm == null) { throw new IOException("Unknown data type: " + type); } ds.writeByte(type); bs.marshal(ds); dsm.tightMarshal2(this, c, ds, bs); } }
bs.marshal(bytesOut); dsm.tightMarshal2(this, c, bytesOut, bs); sequence = bytesOut.toByteSequence();
/** * Used by NIO or AIO transports; note that the size is not written as part * of this method. */ public void tightMarshal2(Object o, DataOutput ds, BooleanStream bs) throws IOException { if (cacheEnabled) { runMarshallCacheEvictionSweep(); } if (o != null) { DataStructure c = (DataStructure)o; byte type = c.getDataStructureType(); DataStreamMarshaller dsm = (DataStreamMarshaller)dataMarshallers[type & 0xFF]; if (dsm == null) { throw new IOException("Unknown data type: " + type); } ds.writeByte(type); bs.marshal(ds); dsm.tightMarshal2(this, c, ds, bs); } }
bs.marshal(dataOut); dsm.tightMarshal2(this, c, dataOut, bs);
/** * Used by NIO or AIO transports; note that the size is not written as part * of this method. */ public void tightMarshal2(Object o, DataOutput ds, BooleanStream bs) throws IOException { if (cacheEnabled) { runMarshallCacheEvictionSweep(); } if (o != null) { DataStructure c = (DataStructure)o; byte type = c.getDataStructureType(); DataStreamMarshaller dsm = dataMarshallers[type & 0xFF]; if (dsm == null) { throw new IOException("Unknown data type: " + type); } ds.writeByte(type); bs.marshal(ds); dsm.tightMarshal2(this, c, ds, bs); } }
bs.marshal(dataOut); dsm.tightMarshal2(this, c, dataOut, bs);
bs.marshal(dataOut); dsm.tightMarshal2(this, c, dataOut, bs);
bs.marshal(dataOut); dsm.tightMarshal2(this, c, dataOut, bs);
bs.marshal(dataOut);
bs.marshal(dataOut);
bs.marshal(dataOut);
bs.marshal(bytesOut); dsm.tightMarshal2(this, c, bytesOut, bs); sequence = bytesOut.toByteSequence();
bs.marshal(bytesOut); dsm.tightMarshal2(this, c, bytesOut, bs); sequence = bytesOut.toByteSequence();
bs.marshal(bytesOut); dsm.tightMarshal2(this, c, bytesOut, bs); sequence = bytesOut.toByteSequence();
bs.marshal(bytesOut); dsm.tightMarshal2(this, c, bytesOut, bs); sequence = bytesOut.toByteSequence();