/** * Reads the end byte. */ public void readMapEnd() throws IOException { int code = _offset < _length ? (_buffer[_offset++] & 0xff) : read(); if (code != 'Z') throw error("expected end of map ('Z') at '" + codeName(code) + "'"); }
/** * Reads the end byte. */ public void readMapEnd() throws IOException { int code = _offset < _length ? (_buffer[_offset++] & 0xff) : read(); if (code != 'Z') throw error("expected end of map ('Z') at '" + codeName(code) + "'"); }
/** * Reads the end byte. */ public void readListEnd() throws IOException { int code = _offset < _length ? (_buffer[_offset++] & 0xff) : read(); if (code != 'Z') throw error("expected end of list ('Z') at '" + codeName(code) + "'"); }
/** * Reads the end byte. */ public void readMapEnd() throws IOException { int code = _offset < _length ? (_buffer[_offset++] & 0xff) : read(); if (code != 'Z') throw error("expected end of map ('Z') at '" + codeName(code) + "'"); }
/** * Reads the end byte. */ public void readListEnd() throws IOException { int code = _offset < _length ? (_buffer[_offset++] & 0xff) : read(); if (code != 'Z') throw error("expected end of list ('Z') at '" + codeName(code) + "'"); }
/** * Reads the end byte. */ public void readListEnd() throws IOException { int code = _offset < _length ? (_buffer[_offset++] & 0xff) : read(); if (code != 'Z') throw error("expected end of list ('Z') at '" + codeName(code) + "'"); }
/** * Reads the end byte. */ public void readMapEnd() throws IOException { int code = _offset < _length ? (_buffer[_offset++] & 0xff) : read(); if (code != 'Z') throw error("expected end of map ('Z') at '" + codeName(code) + "'"); }
/** * Reads the end byte. */ public void readListEnd() throws IOException { int code = _offset < _length ? (_buffer[_offset++] & 0xff) : read(); if (code != 'Z') throw error("expected end of list ('Z') at '" + codeName(code) + "'"); }
/** * Starts reading the call * * <pre> * c major minor * </pre> */ public int readCall() throws IOException { int tag = read(); if (tag != 'C') throw error("expected hessian call ('C') at " + codeName(tag)); return 0; }
/** * Starts reading the call * * <pre> * c major minor * </pre> */ public int readCall() throws IOException { int tag = read(); if (tag != 'C') throw error("expected hessian call ('C') at " + codeName(tag)); return 0; }
/** * Starts reading the call * * <pre> * c major minor * </pre> */ public int readCall() throws IOException { int tag = read(); if (tag != 'C') throw error("expected hessian call ('C') at " + codeName(tag)); return 0; }
/** * Starts reading the call * * <pre> * c major minor * </pre> */ public int readCall() throws IOException { int tag = read(); if (tag != 'C') throw error("expected hessian call ('C') at " + codeName(tag)); return 0; }
/** * Completes reading the envelope * * <p>A successful completion will have a single value: * * <pre> * Z * </pre> */ public void completeEnvelope() throws IOException { int tag = read(); if (tag != 'Z') error("expected end of envelope at " + codeName(tag)); }
/** * Completes reading the call * * <p>A successful completion will have a single value: * * <pre> * z * </pre> */ public void completeValueReply() throws IOException { int tag = read(); if (tag != 'Z') error("expected end of reply at " + codeName(tag)); }
/** * Completes reading the message * * <p>A successful completion will have a single value: * * <pre> * z * </pre> */ public void completeMessage() throws IOException { int tag = read(); if (tag != 'Z') error("expected end of message at " + codeName(tag)); }
/** * Completes reading the envelope * * <p>A successful completion will have a single value: * * <pre> * Z * </pre> */ public void completeEnvelope() throws IOException { int tag = read(); if (tag != 'Z') error("expected end of envelope at " + codeName(tag)); }
/** * Reads the end byte. */ public void readEnd() throws IOException { int code = _offset < _length ? (_buffer[_offset++] & 0xff) : read(); if (code == 'Z') return; else if (code < 0) throw error("unexpected end of file"); else throw error("unknown code:" + codeName(code)); }
/** * Reads the end byte. */ public void readEnd() throws IOException { int code = _offset < _length ? (_buffer[_offset++] & 0xff) : read(); if (code == 'Z') return; else if (code < 0) throw error("unexpected end of file"); else throw error("unknown code:" + codeName(code)); }
/** * Reads the end byte. */ public void readEnd() throws IOException { int code = _offset < _length ? (_buffer[_offset++] & 0xff) : read(); if (code == 'Z') return; else if (code < 0) throw error("unexpected end of file"); else throw error("unknown code:" + codeName(code)); }
/** * Reads the end byte. */ public void readEnd() throws IOException { int code = _offset < _length ? (_buffer[_offset++] & 0xff) : read(); if (code == 'Z') return; else if (code < 0) throw error("unexpected end of file"); else throw error("unknown code:" + codeName(code)); }