com.ibm.di.api.remote.impl
Class APIRemoteObject

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by com.ibm.di.api.remote.impl.APIRemoteObject
All Implemented Interfaces:
Serializable, Remote
Direct Known Subclasses:
AssemblyLineHandlerImpl, AssemblyLineImpl, AssemblyLineListenerBase, AssemblyLineListenerBase, ConfigInstanceImpl, ConfigurationFileListenerBase, DIEventListenerBase, LogListenerBase, SecurityRegistryImpl, SequenceImpl, ServerInfoImpl, SessionFactoryImpl, SessionImpl, SystemLogImpl, SystemQueueImpl, TDIPropertiesImpl, TombstoneManagerImpl

public class APIRemoteObject
extends UnicastRemoteObject

Class extending UnicastRemoteObject. The purpose is to be able to specify the port number used when creating ServerSockets.

Since:
7.1
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
APIRemoteObject()
          Constructor.
APIRemoteObject(int port)
          Constructor specifying port number.
APIRemoteObject(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
          Constructor specifying port number and factories.
 
Method Summary
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

APIRemoteObject

public APIRemoteObject()
                throws RemoteException
Constructor.

Throws:
RemoteException

APIRemoteObject

public APIRemoteObject(int port)
                throws RemoteException
Constructor specifying port number.

Parameters:
port - The port number.
Throws:
RemoteException

APIRemoteObject

public APIRemoteObject(int port,
                       RMIClientSocketFactory csf,
                       RMIServerSocketFactory ssf)
                throws RemoteException
Constructor specifying port number and factories.

Parameters:
port - The port number
csf - Client Socket Factory.
ssf - Server Socket Factory.
Throws:
RemoteException