solar.service.transport
Class Header
java.lang.Object
|
+--solar.service.transport.Header
- All Implemented Interfaces:
- java.io.Serializable, SolarConstants
- public class Header
- extends java.lang.Object
- implements java.io.Serializable, SolarConstants
The header for each ADU sent or received.
- Version:
- $Id: Header.java,v 1.2 2003/10/05 18:51:02 glchen Exp $
- Author:
- Guanling Chen
- See Also:
- Serialized Form
Fields inherited from interface solar.SolarConstants |
ADVERTISEMENT_SVID, ATTRIBUTE_RECORD_SVID, ATTRIBUTE_SVID, FILTER_CONFIG_SVID, FILTER_SPEC_SVID, GRAPH_SPEC_SVID, GUID_SVID, HEADER_SVID, ID_SVID, NAME_RECORD_SVID, PACK_POLICY_SVID, PIPE_SPEC_SVID, REQUEST_SVID, RPCACK_SVID |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
_multiplex
protected Id _multiplex
_src
protected Address _src
_dest
protected Address _dest
Header
public Header()
Header
public Header(Id multiplex)
getMultiplexId
public Id getMultiplexId()
setMultiplexId
public void setMultiplexId(Id multiplex)
getDestination
public Address getDestination()
setDestination
public void setDestination(Address dest)
getSource
public Address getSource()
setSource
public void setSource(Address src)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
write
public void write(java.io.DataOutputStream out)
throws java.io.IOException
java.io.IOException
read
public void read(java.io.DataInputStream in)
throws java.io.IOException
java.io.IOException
write
public void write(java.io.ObjectOutputStream out)
throws java.io.IOException
java.io.IOException
read
public void read(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException