org.jboss.messaging.core.distributed
Class RemotePeerInfo
java.lang.Object
org.jboss.messaging.core.distributed.RemotePeerInfo
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- Direct Known Subclasses:
- QueuePeerInfo, ReplicatorOutputPeerInfo, ReplicatorPeerInfo
- public class RemotePeerInfo
- extends java.lang.Object
- implements java.io.Externalizable
A PeerInfo instance contains enough information to allow a peer to establish a logical connection
to the peer that sent that information.
- Version:
- $Revision: 464 $
$Id: RemotePeerInfo.java 464 2005-11-22 06:46:49Z ovidiu $
- Author:
- Ovidiu Feodorov
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
peerIdentity
protected PeerIdentity peerIdentity
RemotePeerInfo
public RemotePeerInfo()
- For externalization.
RemotePeerInfo
public RemotePeerInfo(PeerIdentity peerIdentity)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
getPeerIdentity
public PeerIdentity getPeerIdentity()
Copyright © 2006 JBoss Inc. All Rights Reserved.