ch.epfl.lsr.apex
Class APEXRoutingPoint

java.lang.Object
  extended bych.epfl.lsr.apex.APEXRoutingPoint

public class APEXRoutingPoint
extends Object

An APEXRoutingPoint object translates a domain in another according the relay configuration file.

Author:
Marc Stoecklin
See Also:
APEXRelayManager

Constructor Summary
APEXRoutingPoint(String identity, String gateway, int port)
          Instantiates a new APEXRoutingPoint for the specified arguments ( identity relayed to gateway:(mesh)port )
 
Method Summary
 String getGateway()
          Returns the gateway of this routing point.
 int getPort()
          Returns the listening mesh port of the gateway
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

APEXRoutingPoint

public APEXRoutingPoint(String identity,
                        String gateway,
                        int port)
Instantiates a new APEXRoutingPoint for the specified arguments ( identity relayed to gateway:(mesh)port )

Parameters:
identity - The identity
gateway - The gateway (destination)
port - The mesh port listening at the gateway
Method Detail

getGateway

public String getGateway()
Returns the gateway of this routing point.

Returns:
The gateway

getPort

public int getPort()
Returns the listening mesh port of the gateway

Returns:
The mesh port

toString

public String toString()