jgroup.core
Interface EndPoint

All Superinterfaces:
java.lang.Comparable, java.io.Externalizable, java.io.Serializable
All Known Implementing Classes:
Domain, EndPointImpl, Host

public interface EndPoint
extends java.io.Externalizable, java.lang.Comparable

Interface EndPoint represents a communication endpoint. It is composed of an IP address together with a port number. Objects implementing this interface are used to identify JVM machines hosting Jgroup applications.

Since:
Jgroup 1.2
Author:
Alberto Montresor, Hein Meling

Method Summary
 java.net.InetAddress getAddress()
          Returns the IP address contained in this endpoint
 int getIntAddress()
          Returns the IP address contained in this endpoint, enclosed in an integer value.
 int getPort()
          Returns the port number contained in this endpoint.
 boolean isLocal()
          Returns true if this endpoint is the local endpoint.
 boolean isMulticastEndPoint()
          Return true if this endpoint is a multicast endpoint.
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getAddress

java.net.InetAddress getAddress()
Returns the IP address contained in this endpoint


getIntAddress

int getIntAddress()
Returns the IP address contained in this endpoint, enclosed in an integer value.


getPort

int getPort()
Returns the port number contained in this endpoint.


isLocal

boolean isLocal()
Returns true if this endpoint is the local endpoint.


isMulticastEndPoint

boolean isMulticastEndPoint()
Return true if this endpoint is a multicast endpoint.



Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.