org.jgroups.protocols
Class ENCRYPT.EncryptHeader
- ENCRYPT
- Externalizable, Streamable
public static class ENCRYPT.EncryptHeader
boolean | equals(Object obj)
|
protected short | getType()
|
protected String | getVersion()
|
void | readExternal(java.io.ObjectInput in)
|
void | readFrom(DataInputStream in) - Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
long | size()
|
String | toString()
|
void | writeExternal(java.io.ObjectOutput out)
|
void | writeTo(DataOutputStream out) - Write the entire state of the current object (including superclasses) to outstream.
|
ENCRYPT
public static final short ENCRYPT
KEY_REQUEST
public static final short KEY_REQUEST
SECRETKEY
public static final short SECRETKEY
SECRETKEY_READY
public static final short SECRETKEY_READY
SERVER_PUBKEY
public static final short SERVER_PUBKEY
EncryptHeader
public EncryptHeader()
EncryptHeader
public EncryptHeader(short type)
EncryptHeader
public EncryptHeader(short type,
String version)
equals
public boolean equals(Object obj)
getType
protected short getType()
getVersion
protected String getVersion()
readExternal
public void readExternal(java.io.ObjectInput in)
throws IOException,
ClassNotFoundException
readFrom
public void readFrom(DataInputStream in)
throws IOException,
IllegalAccessException,
InstantiationException
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
- readFrom in interface Streamable
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws IOException
writeTo
public void writeTo(DataOutputStream out)
throws IOException
Write the entire state of the current object (including superclasses) to outstream.
Note that the output stream must not be closed
- writeTo in interface Streamable
Copyright B) 1998-2005 Bela Ban. All Rights Reserved.