net.tomp2p.connection
Class IdentifierTCP

java.lang.Object
  extended by net.tomp2p.connection.IdentifierTCP
All Implemented Interfaces:
Comparable<IdentifierTCP>

public class IdentifierTCP
extends Object
implements Comparable<IdentifierTCP>


Field Summary
static String DEFAULT
           
 
Constructor Summary
IdentifierTCP(Number160 recipientId, Number160 senderId, InetAddress inetAddress, String channelName)
           
IdentifierTCP(PeerAddress remotePeer, PeerAddress senderPeer, String channelName)
           
 
Method Summary
 int compareTo(IdentifierTCP o)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT

public static final String DEFAULT
See Also:
Constant Field Values
Constructor Detail

IdentifierTCP

public IdentifierTCP(Number160 recipientId,
                     Number160 senderId,
                     InetAddress inetAddress,
                     String channelName)

IdentifierTCP

public IdentifierTCP(PeerAddress remotePeer,
                     PeerAddress senderPeer,
                     String channelName)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(IdentifierTCP o)
Specified by:
compareTo in interface Comparable<IdentifierTCP>


Copyright © 2011. All Rights Reserved.