/** * Writes a remote object reference to the stream. The type is the * type of the remote interface. * * <code><pre> * 'r' 't' b16 b8 type url * </pre></code> */ public void writeRemote(String type, String url) throws IOException { os.write('r'); os.write('t'); printLenString(type); os.write('S'); printLenString(url); }
/** * Writes a remote object reference to the stream. The type is the * type of the remote interface. * * <code><pre> * 'r' 't' b16 b8 type url * </pre></code> */ public void writeRemote(String type, String url) throws IOException { os.write('r'); os.write('t'); printLenString(type); os.write('S'); printLenString(url); }
/** * Writes a remote object reference to the stream. The type is the * type of the remote interface. * * <code><pre> * 'r' 't' b16 b8 type url * </pre></code> */ public void writeRemote(String type, String url) throws IOException { os.write('r'); os.write('t'); printLenString(type); os.write('S'); printLenString(url); }
/** * Writes a remote object reference to the stream. The type is the * type of the remote interface. * * <code><pre> * 'r' 't' b16 b8 type url * </pre></code> */ public void writeRemote(String type, String url) throws IOException { os.write('r'); os.write('t'); printLenString(type); os.write('S'); printLenString(url); }
/** * Writes the map header to the stream. Map writers will call * <code>writeMapBegin</code> followed by the map contents and then * call <code>writeMapEnd</code>. * * <code><pre> * Mt b16 b8 (<key> <value>)z * </pre></code> */ public void writeMapBegin(String type) throws IOException { os.write('M'); os.write('t'); printLenString(type); }
/** * Writes the map header to the stream. Map writers will call * <code>writeMapBegin</code> followed by the map contents and then * call <code>writeMapEnd</code>. * * <code><pre> * Mt b16 b8 (<key> <value>)z * </pre></code> */ public void writeMapBegin(String type) throws IOException { os.write('M'); os.write('t'); printLenString(type); }
/** * Writes the map header to the stream. Map writers will call * <code>writeMapBegin</code> followed by the map contents and then * call <code>writeMapEnd</code>. * * <code><pre> * Mt b16 b8 (<key> <value>)z * </pre></code> */ public void writeMapBegin(String type) throws IOException { os.write('M'); os.write('t'); printLenString(type); }
/** * Writes the map header to the stream. Map writers will call * <code>writeMapBegin</code> followed by the map contents and then * call <code>writeMapEnd</code>. * * <code><pre> * Mt b16 b8 (<key> <value>)z * </pre></code> */ public void writeMapBegin(String type) throws IOException { os.write('M'); os.write('t'); printLenString(type); }
/** * Writes the list header to the stream. List writers will call * <code>writeListBegin</code> followed by the list contents and then * call <code>writeListEnd</code>. * * <code><pre> * V * t b16 b8 type * l b32 b24 b16 b8 * </pre></code> */ public boolean writeListBegin(int length, String type) throws IOException { os.write('V'); if (type != null) { os.write('t'); printLenString(type); } if (length >= 0) { os.write('l'); os.write(length >> 24); os.write(length >> 16); os.write(length >> 8); os.write(length); } return true; }
/** * Writes the list header to the stream. List writers will call * <code>writeListBegin</code> followed by the list contents and then * call <code>writeListEnd</code>. * * <code><pre> * V * t b16 b8 type * l b32 b24 b16 b8 * </pre></code> */ public boolean writeListBegin(int length, String type) throws IOException { os.write('V'); if (type != null) { os.write('t'); printLenString(type); } if (length >= 0) { os.write('l'); os.write(length >> 24); os.write(length >> 16); os.write(length >> 8); os.write(length); } return true; }
/** * Writes the list header to the stream. List writers will call * <code>writeListBegin</code> followed by the list contents and then * call <code>writeListEnd</code>. * * <code><pre> * V * t b16 b8 type * l b32 b24 b16 b8 * </pre></code> */ public boolean writeListBegin(int length, String type) throws IOException { os.write('V'); if (type != null) { os.write('t'); printLenString(type); } if (length >= 0) { os.write('l'); os.write(length >> 24); os.write(length >> 16); os.write(length >> 8); os.write(length); } return true; }
/** * Writes the list header to the stream. List writers will call * <code>writeListBegin</code> followed by the list contents and then * call <code>writeListEnd</code>. * * <code><pre> * V * t b16 b8 type * l b32 b24 b16 b8 * </pre></code> */ public boolean writeListBegin(int length, String type) throws IOException { os.write('V'); if (type != null) { os.write('t'); printLenString(type); } if (length >= 0) { os.write('l'); os.write(length >> 24); os.write(length >> 16); os.write(length >> 8); os.write(length); } return true; }