/** * Reads the start of a list. */ public int readListStart() throws IOException { return read(); }
public int read(byte []buffer, int offset, int length) throws IOException { if (_isClosed || _is == null) return -1; int len = HessianInput.this.read(buffer, offset, length); if (len < 0) _isClosed = true; return len; }
public int read(byte []buffer, int offset, int length) throws IOException { if (_isClosed || _is == null) return -1; int len = HessianInput.this.read(buffer, offset, length); if (len < 0) _isClosed = true; return len; }
/** * Returns true if this is the end of a list or a map. */ public boolean isEnd() throws IOException { int code = read(); _peek = code; return (code < 0 || code == 'z'); }
/** * Returns true if this is the end of a list or a map. */ public boolean isEnd() throws IOException { int code = read(); _peek = code; return (code < 0 || code == 'z'); }
/** * Reads the start of a list. */ public int readMapStart() throws IOException { return read(); }
/** * Returns true if this is the end of a list or a map. */ public boolean isEnd() throws IOException { int code = read(); _peek = code; return (code < 0 || code == 'z'); }
/** * Reads the start of a list. */ public int readMapStart() throws IOException { return read(); }
/** * Reads the start of a list. */ public int readMapStart() throws IOException { return read(); }
/** * Reads the start of a list. */ public int readListStart() throws IOException { return read(); }
public void startReplyBody() throws Throwable { int tag = read(); if (tag == 'f') throw prepareFault(); else _peek = tag; }
public void startReplyBody() throws Throwable { int tag = read(); if (tag == 'f') throw prepareFault(); else _peek = tag; }
/** * Reads the end byte. */ public void readMapEnd() throws IOException { int code = 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 = read(); if (code != 'z') throw error("expected end of list ('z') at " + codeName(code)); }
/** * Reads the end byte. */ public void readEnd() throws IOException { int code = read(); if (code != 'z') throw error("unknown code at " + codeName(code)); }
/** * Reads the end byte. */ public void readListEnd() throws IOException { int code = 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 = read(); if (code != 'z') throw error("expected end of list ('z') at " + codeName(code)); }
/** * Reads the end byte. */ public void readEnd() throws IOException { int code = read(); if (code != 'z') throw error("unknown code at " + codeName(code)); }
/** * Reads the end byte. */ public void readMapEnd() throws IOException { int code = 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 = read(); if (code != 'z') throw error("expected end of map ('z') at " + codeName(code)); }