org.apache.geronimo.messaging.io
Class StreamManagerImpl.ID

java.lang.Object
  extended byorg.apache.geronimo.messaging.io.StreamManagerImpl.ID
All Implemented Interfaces:
Externalizable, Serializable
Enclosing class:
StreamManagerImpl

protected static class StreamManagerImpl.ID
extends Object
implements Externalizable

This is the object, which is written to an OutputStream during serialization of a GInputStream. This identifier contains the location of the StreamManager, which has registered the InputStream wrapped by a GInputStream. This information is used to locate the relevant node when a StreamManager on another node needs to pull the content of an InputStream.

See Also:
Serialized Form

Constructor Summary
StreamManagerImpl.ID()
          Required for Externalization.
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamManagerImpl.ID

public StreamManagerImpl.ID()
Required for Externalization.

Method Detail

hashCode

public int hashCode()

equals

public boolean equals(Object obj)

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.