public interface BinaryContext
Modifier and Type | Method and Description |
---|---|
boolean |
beginReadStructure(org.apache.mina.core.buffer.IoBuffer buffer,
boolean allowNull) |
Integer |
beginReadStructureList(org.apache.mina.core.buffer.IoBuffer buffer,
boolean allowNull) |
void |
beginWriteStructure(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
boolean isNull) |
void |
beginWriteStructureList(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
Collection<?> values) |
Boolean |
decodeBoolean(org.apache.mina.core.buffer.IoBuffer buffer) |
List<Boolean> |
decodeBooleanList(org.apache.mina.core.buffer.IoBuffer buffer) |
Set<Boolean> |
decodeBooleanSet(org.apache.mina.core.buffer.IoBuffer buffer) |
Double |
decodeDouble(org.apache.mina.core.buffer.IoBuffer buffer) |
List<Double> |
decodeDoubleList(org.apache.mina.core.buffer.IoBuffer buffer) |
Set<Double> |
decodeDoubleSet(org.apache.mina.core.buffer.IoBuffer buffer) |
<E extends Enum<E>> |
decodeEnum(org.apache.mina.core.buffer.IoBuffer buffer,
Class<E> enumClazz) |
<E extends Enum<E>> |
decodeEnumList(org.apache.mina.core.buffer.IoBuffer buffer,
Class<E> enumClazz) |
<E extends Enum<E>> |
decodeEnumSet(org.apache.mina.core.buffer.IoBuffer buffer,
Class<E> enumClazz) |
Integer |
decodeInt(org.apache.mina.core.buffer.IoBuffer buffer) |
List<Integer> |
decodeIntList(org.apache.mina.core.buffer.IoBuffer buffer) |
Set<Integer> |
decodeIntSet(org.apache.mina.core.buffer.IoBuffer buffer) |
Long |
decodeLong(org.apache.mina.core.buffer.IoBuffer buffer) |
List<Long> |
decodeLongList(org.apache.mina.core.buffer.IoBuffer buffer) |
Set<Long> |
decodeLongSet(org.apache.mina.core.buffer.IoBuffer buffer) |
boolean |
decodePrimitiveBoolean(org.apache.mina.core.buffer.IoBuffer buffer) |
double |
decodePrimitiveDouble(org.apache.mina.core.buffer.IoBuffer buffer) |
int |
decodePrimitiveInt(org.apache.mina.core.buffer.IoBuffer buffer) |
long |
decodePrimitiveLong(org.apache.mina.core.buffer.IoBuffer buffer) |
Map<String,String> |
decodeProperties(org.apache.mina.core.buffer.IoBuffer buffer) |
List<Map<String,String>> |
decodePropertiesList(org.apache.mina.core.buffer.IoBuffer buffer) |
Set<Map<String,String>> |
decodePropertiesSet(org.apache.mina.core.buffer.IoBuffer buffer) |
String |
decodeString(org.apache.mina.core.buffer.IoBuffer buffer) |
List<String> |
decodeStringList(org.apache.mina.core.buffer.IoBuffer buffer) |
Set<String> |
decodeStringSet(org.apache.mina.core.buffer.IoBuffer buffer) |
Variant |
decodeVariant(org.apache.mina.core.buffer.IoBuffer buffer) |
List<Variant> |
decodeVariantList(org.apache.mina.core.buffer.IoBuffer buffer) |
Map<String,Variant> |
decodeVariantMap(org.apache.mina.core.buffer.IoBuffer buffer) |
List<Map<String,Variant>> |
decodeVariantMapList(org.apache.mina.core.buffer.IoBuffer buffer) |
Set<Map<String,Variant>> |
decodeVariantMapSet(org.apache.mina.core.buffer.IoBuffer buffer) |
Set<Variant> |
decodeVariantSet(org.apache.mina.core.buffer.IoBuffer buffer) |
void |
encodeBoolean(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
Boolean data) |
void |
encodeBooleanCollection(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
Collection<Boolean> data) |
void |
encodeDouble(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
Double data) |
void |
encodeDoubleCollection(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
Collection<Double> data) |
<E extends Enum<E>> |
encodeEnum(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
E data) |
<E extends Enum<E>> |
encodeEnumList(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
List<E> data) |
<E extends Enum<E>> |
encodeEnumSet(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
Set<E> data) |
void |
encodeInt(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
Integer data) |
void |
encodeIntCollection(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
Collection<Integer> data) |
void |
encodeLong(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
Long data) |
void |
encodeLongCollection(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
Collection<Long> data) |
void |
encodePrimitiveBoolean(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
boolean data) |
void |
encodePrimitiveDouble(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
double data) |
void |
encodePrimitiveInt(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
int data) |
void |
encodePrimitiveLong(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
long data) |
void |
encodeProperties(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
Map<String,String> data) |
void |
encodePropertiesCollection(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
Collection<Map<String,String>> data) |
void |
encodeString(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
String data) |
void |
encodeStringCollection(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
Collection<String> data) |
void |
encodeVariant(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
Variant data) |
void |
encodeVariantCollection(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
Collection<Variant> data) |
void |
encodeVariantMap(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
Map<String,Variant> data) |
void |
encodeVariantMapCollection(org.apache.mina.core.buffer.IoBuffer buffer,
byte fieldNumber,
Collection<Map<String,Variant>> data) |
String |
getProtocolIdPart() |
String getProtocolIdPart()
void encodeString(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, String data) throws Exception
Exception
String decodeString(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodeStringCollection(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, Collection<String> data) throws Exception
Exception
List<String> decodeStringList(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
Set<String> decodeStringSet(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodeInt(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, Integer data) throws Exception
Exception
Integer decodeInt(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodePrimitiveInt(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, int data) throws Exception
Exception
int decodePrimitiveInt(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodeIntCollection(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, Collection<Integer> data) throws Exception
Exception
List<Integer> decodeIntList(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
Set<Integer> decodeIntSet(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodeLong(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, Long data) throws Exception
Exception
Long decodeLong(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodePrimitiveLong(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, long data) throws Exception
Exception
long decodePrimitiveLong(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodeLongCollection(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, Collection<Long> data) throws Exception
Exception
List<Long> decodeLongList(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
Set<Long> decodeLongSet(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodeBoolean(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, Boolean data) throws Exception
Exception
Boolean decodeBoolean(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodePrimitiveBoolean(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, boolean data) throws Exception
Exception
boolean decodePrimitiveBoolean(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodeBooleanCollection(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, Collection<Boolean> data) throws Exception
Exception
List<Boolean> decodeBooleanList(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
Set<Boolean> decodeBooleanSet(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodeDouble(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, Double data) throws Exception
Exception
Double decodeDouble(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodePrimitiveDouble(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, double data) throws Exception
Exception
double decodePrimitiveDouble(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodeDoubleCollection(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, Collection<Double> data) throws Exception
Exception
List<Double> decodeDoubleList(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
Set<Double> decodeDoubleSet(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodeVariant(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, Variant data) throws Exception
Exception
Variant decodeVariant(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodeVariantCollection(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, Collection<Variant> data) throws Exception
Exception
List<Variant> decodeVariantList(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
Set<Variant> decodeVariantSet(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodeVariantMap(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, Map<String,Variant> data) throws Exception
Exception
Map<String,Variant> decodeVariantMap(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodeVariantMapCollection(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, Collection<Map<String,Variant>> data) throws Exception
Exception
List<Map<String,Variant>> decodeVariantMapList(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
Set<Map<String,Variant>> decodeVariantMapSet(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodeProperties(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, Map<String,String> data) throws Exception
Exception
Map<String,String> decodeProperties(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
void encodePropertiesCollection(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, Collection<Map<String,String>> data) throws Exception
Exception
List<Map<String,String>> decodePropertiesList(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
Set<Map<String,String>> decodePropertiesSet(org.apache.mina.core.buffer.IoBuffer buffer) throws Exception
Exception
<E extends Enum<E>> void encodeEnum(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, E data) throws Exception
Exception
<E extends Enum<E>> E decodeEnum(org.apache.mina.core.buffer.IoBuffer buffer, Class<E> enumClazz) throws Exception
Exception
<E extends Enum<E>> void encodeEnumSet(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, Set<E> data) throws Exception
Exception
<E extends Enum<E>> void encodeEnumList(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, List<E> data) throws Exception
Exception
<E extends Enum<E>> List<E> decodeEnumList(org.apache.mina.core.buffer.IoBuffer buffer, Class<E> enumClazz) throws Exception
Exception
<E extends Enum<E>> Set<E> decodeEnumSet(org.apache.mina.core.buffer.IoBuffer buffer, Class<E> enumClazz) throws Exception
Exception
void beginWriteStructure(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, boolean isNull) throws Exception
Exception
boolean beginReadStructure(org.apache.mina.core.buffer.IoBuffer buffer, boolean allowNull) throws Exception
Exception
void beginWriteStructureList(org.apache.mina.core.buffer.IoBuffer buffer, byte fieldNumber, Collection<?> values) throws Exception
Exception