public void write(ObjectId id, OutputStream os) { byte[] key = id.getId(); os.write_octet_array(key, 0, key.length); }
public void write( ObjectId id, OutputStream os ) { byte[] key = id.getId() ; os.write_octet_array( key, 0, key.length ) ; }
public final void write(byte b[], int off, int len) throws IOException{ try{ writeObjectState.writeData(this); orbStream.write_octet_array(b, off, len); } catch(Error e) { IOException ioexc = new IOException(e.getMessage()); ioexc.initCause(e) ; throw ioexc ; } }
public final void write(byte b[], int off, int len) throws IOException{ try{ writeObjectState.writeData(this); orbStream.write_octet_array(b, off, len); } catch(Error e) { IOException ioexc = new IOException(e.getMessage()); ioexc.initCause(e) ; throw ioexc ; } }
public final void write(byte b[]) throws IOException{ try{ writeObjectState.writeData(this); orbStream.write_octet_array(b, 0, b.length); } catch(Error e) { IOException ioexc = new IOException(e.getMessage()); ioexc.initCause(e) ; throw ioexc ; } }
public void write(OutputStream os) { os.write_long(id.length); os.write_octet_array(id, 0, id.length); } }
public void write(ObjectId id, OutputStream os) { byte[] key = id.getId(); os.write_octet_array(key, 0, key.length); }
public void write(OutputStream os) { os.write_long(id.length); os.write_octet_array(id, 0, id.length); } }
public void write( OutputStream os ) { os.write_long( id.length ) ; os.write_octet_array( id, 0, id.length ) ; } }
public void write(OutputStream os) { os.write_ulong( data.length ) ; os.write_octet_array( data, 0, data.length ) ; }
public final void writeBytes(String data) throws IOException{ try{ writeObjectState.writeData(this); byte buf[] = data.getBytes(); orbStream.write_octet_array(buf, 0, buf.length); } catch(Error e) { IOException ioexc = new IOException(e.getMessage()); ioexc.initCause(e) ; throw ioexc ; } }
public void write(byte[] arr, int off, int len) throws java.io.IOException { beforeWriteData(); out.write_octet_array(arr, off, len); }
public final void write(byte b[], int off, int len) throws IOException { try { writeObjectState.writeData(this); orbStream.write_octet_array(b, off, len); } catch (Error e) { IOException ioexc = new IOException(e.getMessage()); ioexc.initCause(e); throw ioexc; } }
public void write(OutputStream os, GIOPVersion gv) throws SystemException { os.write_long(id); os.write_long(data.length); os.write_octet_array(data, 0, data.length); }
/** * Helper method that is used to extract data from an output stream and write the data to another output stream. * Defined as static so that it can be used in another class. */ static public void writeOutputStream(OutputStream dataStream, OutputStream os) { byte[] data = ((CDROutputStream) dataStream).toByteArray(); os.write_long(data.length); os.write_octet_array(data, 0, data.length); }
/** Helper method that is used to extract data from an output * stream and write the data to another output stream. Defined * as static so that it can be used in another class. */ static public void writeOutputStream( OutputStream dataStream, OutputStream os ) { byte[] data = ((CDROutputStream)dataStream).toByteArray() ; os.write_long( data.length ) ; os.write_octet_array( data, 0, data.length ) ; }
public void write( OutputStream os , GIOPVersion gv) throws SystemException { os.write_long( id ) ; os.write_long( data.length ) ; os.write_octet_array( data, 0, data.length ) ; }
public void write(OutputStream os, GIOPVersion gv) throws SystemException { os.write_long(id); os.write_long(data.length); os.write_octet_array(data, 0, data.length); }
/** * Helper method that is used to extract data from an output stream and write the data to another output stream. * Defined as static so that it can be used in another class. */ static public void writeOutputStream(OutputStream dataStream, OutputStream os) { byte[] data = ((CDROutputStream) dataStream).toByteArray(); os.write_long(data.length); os.write_octet_array(data, 0, data.length); }
/** * Write the service context to an output stream. This method must be used for writing the service context to a * request or reply header. */ public void write(OutputStream s, GIOPVersion gv) throws SystemException { EncapsOutputStream os = new EncapsOutputStream((ORB) (s.orb()), gv); os.putEndian(); writeData(os); byte[] data = os.toByteArray(); s.write_long(getId()); s.write_long(data.length); s.write_octet_array(data, 0, data.length); }