net.sourceforge.esw.transport
Class  Transport
java.lang.Object
  |
  +--net.sourceforge.esw.transport.Transport
- public class Transport- extends java.lang.Object
This is the entry point to the Transport system. Clients wishing to
 use transport must first startup the Transport system using methods in this
 object.
 
- See Also: 
- Namespace
 
 
| Method Summary | 
| static java.lang.Object | getProxy(java.lang.Object aObject)Creates a Proxy object that can be sent to remote clients that allows
 remote method calls to be made against the specified object.
 | 
| static void | setTransportDelegate(ITransportDelegate aDelegate)Sets the ITransportDelegate used for the handling of Transport.
 | 
| static void | startup()Starts up the Transport system.
 | 
| static void | startup(int aPort)Starts up the Transport system at the specified port.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
delegate
protected static ITransportDelegate delegate
- Delegates the startup and shutdown to specific transport mechinisms.
 The default is using RMI for transport.
Transport
public Transport()
startup
public static void startup()
                    throws java.lang.Exception
- Starts up the Transport system.
startup
public static void startup(int aPort)
                    throws java.lang.Exception
- Starts up the Transport system at the specified port.- 
- Parameters:
- aPort- the port on which to start the trasport.
 
getProxy
public static java.lang.Object getProxy(java.lang.Object aObject)
                                 throws java.lang.Exception
- Creates a Proxy object that can be sent to remote clients that allows
 remote method calls to be made against the specified object.- 
- Parameters:
- aObject- the Object to create a Proxy from
- Throws:
- java.lang.Exception- if an error occured during creation of the Proxy.
 
setTransportDelegate
public static void setTransportDelegate(ITransportDelegate aDelegate)
- Sets the ITransportDelegate used for the handling of Transport.
 - 
- Parameters:
- aDelegate- the new delegate
 
Copyright 2002 Free Software Foundation. All Rights Reserved.