|
Openfire 3.6.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExternalizableUtilStrategy
Interface that allows to provide different ways for implementing serialization of objects. The open source version of the server will just provide a dummy implementation that does nothing. The enterprise version will use Coherence as its underlying mechanism.
Method Detail |
---|
void writeStringMap(DataOutput out, Map<String,String> stringMap) throws IOException
out
- the output stream.stringMap
- the Map of String key/value pairs.
IOException
- if an error occurs.Map<String,String> readStringMap(DataInput in) throws IOException
in
- the input stream.
IOException
- if an error occurs.void writeLongIntMap(DataOutput out, Map<Long,Integer> map) throws IOException
out
- the output stream.map
- the Map of Long key/Integer value pairs.
IOException
- if an error occurs.Map readLongIntMap(DataInput in) throws IOException
in
- the input stream.
IOException
- if an error occurs.void writeStringList(DataOutput out, List stringList) throws IOException
out
- the output stream.stringList
- the List of Strings.
IOException
- if an error occurs.List<String> readStringList(DataInput in) throws IOException
in
- the input stream.
IOException
- if an error occurs.void writeLongArray(DataOutput out, long[] array) throws IOException
out
- the output stream.array
- the array of long values.
IOException
- if an error occurs.long[] readLongArray(DataInput in) throws IOException
in
- the input stream.
IOException
- if an error occurs.void writeLong(DataOutput out, long value) throws IOException
IOException
long readLong(DataInput in) throws IOException
IOException
void writeBoolean(DataOutput out, boolean value) throws IOException
IOException
boolean readBoolean(DataInput in) throws IOException
IOException
void writeByteArray(DataOutput out, byte[] value) throws IOException
IOException
byte[] readByteArray(DataInput in) throws IOException
IOException
void writeSerializable(DataOutput out, Serializable value) throws IOException
IOException
Serializable readSerializable(DataInput in) throws IOException
IOException
void writeSafeUTF(DataOutput out, String value) throws IOException
IOException
String readSafeUTF(DataInput in) throws IOException
IOException
void writeExternalizableCollection(DataOutput out, Collection<? extends Externalizable> value) throws IOException
IOException
int readExternalizableCollection(DataInput in, Collection<? extends Externalizable> value, ClassLoader loader) throws IOException
IOException
void writeExternalizableMap(DataOutput out, Map<String,? extends Externalizable> map) throws IOException
IOException
int readExternalizableMap(DataInput in, Map<String,? extends Externalizable> map, ClassLoader loader) throws IOException
IOException
void writeStringsMap(DataOutput out, Map<String,Set<String>> map) throws IOException
IOException
int readStringsMap(DataInput in, Map<String,Set<String>> map) throws IOException
IOException
void writeStrings(DataOutput out, Collection<String> collection) throws IOException
IOException
int readStrings(DataInput in, Collection<String> collection) throws IOException
IOException
void writeInt(DataOutput out, int value) throws IOException
IOException
int readInt(DataInput in) throws IOException
IOException
|
Openfire 3.6.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |