All Packages Class Hierarchy This Package Previous Next Index
Class magician.Node.SPObjectOutputStream
java.lang.Object
|
+----java.io.OutputStream
|
+----java.io.ObjectOutputStream
|
+----magician.Node.SPObjectOutputStream
- public class SPObjectOutputStream
- extends ObjectOutputStream
This class implements the output stream that serializes the Smartpacket
object for transmission
- See Also:
- OnTheWirepacket
-
annotatedClasses
- classes that have been described
-
dest
- active node to send the serialized object
-
OTWP
- the associated OnTheWirePacket object
-
primitiveClasses
- classes that are not transmitted over the wire
-
SPL
- Smartpacket loader for this Smartpacket type
-
SPObjectOutputStream(OutputStream)
- initializes the output stream
-
SPObjectOutputStream(OutputStream, OnTheWirePacket, SmartPacketLoader, String)
- initializes the output stream with additional information
-
annotateClass(Class)
- describes the class on the wire so that it can be defined in another
active node's environment
primitiveClasses
static Vector primitiveClasses
- classes that are not transmitted over the wire
OTWP
OnTheWirePacket OTWP
- the associated OnTheWirePacket object
annotatedClasses
UnsynchVector annotatedClasses
- classes that have been described
SPL
SmartPacketLoader SPL
- Smartpacket loader for this Smartpacket type
- See Also:
- KUSmartPacketV2, SmartPacketLoader
dest
String dest
- active node to send the serialized object
SPObjectOutputStream
public SPObjectOutputStream(OutputStream out) throws IOException
- initializes the output stream
- Parameters:
- out - the output stream
- Throws: IOException
- if the object cannot be written to the stream
SPObjectOutputStream
public SPObjectOutputStream(OutputStream out,
OnTheWirePacket otwp,
SmartPacketLoader SPLoader,
String node) throws IOException
- initializes the output stream with additional information
- Parameters:
- out - the output stream to write to
- otwp - the OnTheWirePacket object
- SPLoader - the SmartPacket loader for this type
- node - the destination active node
annotateClass
protected void annotateClass(Class cl)
- describes the class on the wire so that it can be defined in another
active node's environment
- Parameters:
- cl - class to be described
- Overrides:
- annotateClass in class ObjectOutputStream
All Packages Class Hierarchy This Package Previous Next Index