All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.habanero.streams.MarshallOutputStream

java.lang.Object
   |
   +----java.io.OutputStream
           |
           +----java.io.ObjectOutputStream
                   |
                   +----ncsa.habanero.streams.MarshallOutputStream

public class MarshallOutputStream
extends ObjectOutputStream
implements MarshallOutput, Delimiters
MarshallOutputStream This is the output stream which can write marshallable objects.


Variable Index

 o replaceSpecifiables
 o underlyingSocket

Constructor Index

 o MarshallOutputStream(OutputStream)
 o MarshallOutputStream(OutputStream, Socket)

Method Index

 o copy(Object)
 o getUnderlyingSocket()
 o queryReplaceSpecifiables()
 o replaceObject(Object)
 o startReplacingSpecifiables()
 o stopReplacingSpecifiables()

Variables

 o replaceSpecifiables
 protected int replaceSpecifiables
 o underlyingSocket
 protected Socket underlyingSocket

Constructors

 o MarshallOutputStream
 public MarshallOutputStream(OutputStream out) throws IOException
Parameters:
out - the initializing output stream
Returns:
creates a MarshallOutputStream
 o MarshallOutputStream
 public MarshallOutputStream(OutputStream out,
                             Socket s) throws IOException
Parameters:
out - the initializing output stream
Returns:
creates a MarshallOutputStream

Methods

 o getUnderlyingSocket
 public Socket getUnderlyingSocket()
 o replaceObject
 protected Object replaceObject(Object obj) throws IOException
Overrides:
replaceObject in class ObjectOutputStream
 o stopReplacingSpecifiables
 public void stopReplacingSpecifiables()
 o startReplacingSpecifiables
 public void startReplacingSpecifiables()
 o copy
 public void copy(Object src) throws IllegalArgumentException
Parameters:
src - the source
Returns:
copies the state from src into the current object
Throws: IllegalArgumentException
if unknown
 o queryReplaceSpecifiables
 public int queryReplaceSpecifiables()

All Packages  Class Hierarchy  This Package  Previous  Next  Index