Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKRMIConstant

java.lang.Object
  |
  +--com.ibm.mm.sdk.common.DKRMIConstant

public class DKRMIConstant
extends java.lang.Object


Constructor Summary
DKRMIConstant()
           
 
Method Summary
static java.lang.String getRemoteHost()
          Gets the remote RMI server host name
static int getRemotePort()
          Gets the remote RMI server port number
static java.net.URL getURL()
          Gets the URL that has the RMI server information
static void setRemoteHost(java.lang.String rHost)
          Sets the remote RMI server host name
static void setRemotePort(int rPort)
          Sets the remote RMI server port number
static void setURL(java.lang.String urlString)
          Sets the URL that has the RMI server information
static void setURL(java.net.URL url)
          Sets the URL that has the RMI server information
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKRMIConstant

public DKRMIConstant()
Method Detail

setRemoteHost

public static void setRemoteHost(java.lang.String rHost)
Sets the remote RMI server host name
Parameters:
rHost - host name

getRemoteHost

public static java.lang.String getRemoteHost()
Gets the remote RMI server host name
Returns:
the remote host name

setRemotePort

public static void setRemotePort(int rPort)
Sets the remote RMI server port number
Parameters:
rPort - remote port number

getRemotePort

public static int getRemotePort()
Gets the remote RMI server port number
Returns:
remote port number

setURL

public static void setURL(java.net.URL url)
Sets the URL that has the RMI server information
Parameters:
url - URL object

setURL

public static void setURL(java.lang.String urlString)
                   throws java.lang.Exception
Sets the URL that has the RMI server information
Parameters:
urlString - URL string

getURL

public static java.net.URL getURL()
Gets the URL that has the RMI server information
Returns:
URL object

EIP Java APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.