Class GrizzlyPeerID
- java.lang.Object
-
- com.sun.enterprise.mgmt.transport.grizzly.GrizzlyPeerID
-
- All Implemented Interfaces:
Serializable,Comparable<GrizzlyPeerID>
public class GrizzlyPeerID extends Object implements Serializable, Comparable<GrizzlyPeerID>
- Author:
- Bongjae Chang
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description StringhostStringmulticastAddressintmulticastPortinttcpPort
-
Constructor Summary
Constructors Constructor Description GrizzlyPeerID(String host, int tcpPort, String multicastAddress, int multicastPort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(GrizzlyPeerID other)booleanequals(Object other)StringgetHost()StringgetMulticastAddress()intgetMulticastPort()intgetTcpPort()inthashCode()StringtoString()
-
-
-
Method Detail
-
getHost
public String getHost()
-
getTcpPort
public int getTcpPort()
-
getMulticastPort
public int getMulticastPort()
-
getMulticastAddress
public String getMulticastAddress()
-
compareTo
public int compareTo(GrizzlyPeerID other)
- Specified by:
compareToin interfaceComparable<GrizzlyPeerID>
-
-