Package org.jgroups.protocols
Class DISCARD.DiscardHeader
java.lang.Object
org.jgroups.Header
org.jgroups.protocols.DISCARD.DiscardHeader
- All Implemented Interfaces:
Externalizable
,Serializable
,Streamable
- Enclosing class:
DISCARD
- See Also:
-
Field Summary
Fields inherited from class org.jgroups.Header
HDR_OVERHEAD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Read the state of the current object (including superclasses) from instream Note that the input stream must not be closedvoid
void
writeTo
(DataOutputStream out) Write the entire state of the current object (including superclasses) to outstream.
-
Constructor Details
-
DiscardHeader
public DiscardHeader() -
DiscardHeader
-
-
Method Details
-
readFrom
public void readFrom(DataInputStream in) throws IOException, IllegalAccessException, InstantiationException Description copied from interface:Streamable
Read the state of the current object (including superclasses) from instream Note that the input stream must not be closed- Specified by:
readFrom
in interfaceStreamable
- Throws:
IOException
IllegalAccessException
InstantiationException
-
writeTo
Description copied from interface:Streamable
Write the entire state of the current object (including superclasses) to outstream. Note that the output stream must not be closed- Specified by:
writeTo
in interfaceStreamable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-