| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
net.dpml.station.server.RemoteStation
The RemoteStation is responsible for the establishment of callback monitors to external processes established by the station manager.
| Field Summary | 
| Fields inherited from class java.rmi.server.RemoteObject | 
ref | 
| Fields inherited from interface net.dpml.station.Station | 
STATION_KEY | 
| Constructor Summary | |
RemoteStation(Logger logger,
                           TransitModel model,
                           int port,
                           URL registryStorageUrl)
Creation of a station instance.  | 
|
| Method Summary | |
 Application | 
getApplication(String key)
Return an application reference for the supplied key.  | 
 ApplicationRegistry | 
getApplicationRegistry()
Return the application registry.  | 
 Callback | 
getCallback(String id)
Return an callback handler for the supplied id.  | 
 String[] | 
getInfo()
Return a string containing info about the general setup of the station.  | 
static void | 
setShutdownHook(RemoteStation station)
Create a shutdown hook that will trigger shutdown of the supplied plugin.  | 
 void | 
shutdown()
Shutdown the station.  | 
| 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 | 
public RemoteStation(Logger logger,
                     TransitModel model,
                     int port,
                     URL registryStorageUrl)
              throws Exception
logger - the assigned logging channelmodel - the transit modelport - the station portregistryStorageUrl - uri defining the registry backing store
Exception - if a exception occurs during establishment| Method Detail | 
public String[] getInfo()
getInfo in interface Manager
public Callback getCallback(String id)
                     throws UnknownKeyException,
                            RemoteException
getCallback in interface Stationid - the callback id
UnknownKeyException - if the id is unknown
RemoteException - if a remote error occurspublic void shutdown()
shutdown in interface Managerpublic ApplicationRegistry getApplicationRegistry()
getApplicationRegistry in interface Manager
public Application getApplication(String key)
                           throws UnknownKeyException,
                                  RemoteException
getApplication in interface Managerkey - the application key
UnknownKeyException - if the key is unknown
RemoteException - if a remote error occurspublic static void setShutdownHook(RemoteStation station)
station - the station
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||