63646566676869
//void checkRawAcceptable() { // throw new MessageTypeException("Unexpected raw value"); //} void acceptRaw(byte[] raw) { throw new MessageTypeException("Unexpected raw value"); }
67686970717273
void acceptRaw(byte[] raw) { throw new MessageTypeException("Unexpected raw value"); } void acceptEmptyRaw() { throw new MessageTypeException("Unexpected raw value"); }
75767778798081
//void checkArrayAcceptable(int size) { // throw new MessageTypeException("Unexpected array value"); //} void acceptArray(int size) { throw new MessageTypeException("Unexpected array value"); }
83848586878889
//void checkMapAcceptable(int size) { // throw new MessageTypeException("Unexpected map value"); //} void acceptMap(int size) { throw new MessageTypeException("Unexpected map value"); }
87888990919293
void acceptMap(int size) { throw new MessageTypeException("Unexpected map value"); } void acceptNil() { throw new MessageTypeException("Unexpected nil value"); }
91929394959697
void acceptNil() { throw new MessageTypeException("Unexpected nil value"); } void acceptFloat(float v) { throw new MessageTypeException("Unexpected float value"); }
9596979899100101
void acceptFloat(float v) { throw new MessageTypeException("Unexpected float value"); } void acceptDouble(double v) { throw new MessageTypeException("Unexpected float value"); }
99100101102103104105
void acceptDouble(double v) { throw new MessageTypeException("Unexpected float value"); } public void refer(ByteBuffer bb, boolean gift) throws IOException { throw new MessageTypeException("Unexpected raw value"); }
373839404142434445
private static long SHORT_MIN = (long)Short.MIN_VALUE; private static long INT_MIN = (long)Integer.MIN_VALUE; public byte getByte() { if(value > BYTE_MAX || value < BYTE_MIN) { throw new MessageTypeException(); // TODO message } return (byte)value; }
444546474849505152
return (byte)value; } public short getShort() { if(value > SHORT_MAX || value < SHORT_MIN) { throw new MessageTypeException(); // TODO message } return (short)value; }