jgroup
Class TransportConfig

java.lang.Object
  |
  +--jgroup.TransportConfig

public class TransportConfig
extends java.lang.Object

The TransportConfig class contains the basic information used to configure the transport layer of the Jgroup implementation.

Since:
Jgroup 0.8
Author:
Alberto Montresor

Field Summary
static int JGROUP_PORT
          Default Jgroup port
private  int port
          Port used by the transport layer to communicate
 
Constructor Summary
TransportConfig()
          Constructs a TransportConfig with the default Jgroup port.
TransportConfig(int port)
          Constructs a TransportConfig with the specified port.
 
Method Summary
 int getPort()
          Return the port number stored in this object.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

JGROUP_PORT

public static final int JGROUP_PORT
Default Jgroup port

port

private int port
Port used by the transport layer to communicate
Constructor Detail

TransportConfig

public TransportConfig()
Constructs a TransportConfig with the default Jgroup port.

TransportConfig

public TransportConfig(int port)
Constructs a TransportConfig with the specified port.
Parameters:
port - The port to be used
Method Detail

getPort

public int getPort()
Return the port number stored in this object.