org.objectweb.carol.cmi
Class NamingContextHostPort

java.lang.Object
  extended byorg.objectweb.carol.cmi.NamingContextHostPort

public class NamingContextHostPort
extends java.lang.Object

Host and Port for a naming context

Author:
Simon Nieuvarts

Constructor Summary
NamingContextHostPort()
           
 
Method Summary
 java.lang.String getHost()
          Get Host
 int getPort()
          Get Port
 void setHost(java.lang.String host)
          Set Host
 void setPort(int port)
          Set Port
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamingContextHostPort

public NamingContextHostPort()
Method Detail

getHost

public java.lang.String getHost()
Get Host

Returns:
String host

setHost

public void setHost(java.lang.String host)
Set Host

Parameters:
host - hostname

getPort

public int getPort()
Get Port

Returns:
int port

setPort

public void setPort(int port)
Set Port

Parameters:
port - port number