Java Code Examples for com.hazelcast.nio.ObjectDataInput#readByte()
The following examples show how to use
com.hazelcast.nio.ObjectDataInput#readByte() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: InboundMessageStatus.java From lannister with Apache License 2.0 | 5 votes |
@Override public void readData(ObjectDataInput in) throws IOException { super.readData(in); byte rawByte = in.readByte(); status = rawByte != Byte.MIN_VALUE ? Status.valueOf(rawByte) : null; }
Example 2
Source File: OutboundMessageStatus.java From lannister with Apache License 2.0 | 5 votes |
@Override public void readData(ObjectDataInput in) throws IOException { super.readData(in); Byte rawByte = in.readByte(); status = rawByte != Byte.MIN_VALUE ? Status.valueOf(rawByte) : null; int rawInt = in.readInt(); qos = rawInt != Byte.MIN_VALUE ? MqttQoS.valueOf(rawInt) : null; }
Example 3
Source File: HazelcastSerializationAdapter.java From bucket4j with Apache License 2.0 | 4 votes |
@Override public byte readByte(ObjectDataInput source) throws IOException { return source.readByte(); }
Example 4
Source File: HazelcastSerializationAdapter.java From bucket4j with Apache License 2.0 | 4 votes |
@Override public byte readByte(ObjectDataInput source) throws IOException { return source.readByte(); }