edu.uci.isr.yancees.server.dispatcher.siena
Class SienaRemoteAdapter

java.lang.Object
  extended byedu.uci.isr.yancees.server.dispatcher.siena.AbstractSienaAdapter
      extended byedu.uci.isr.yancees.server.dispatcher.siena.SienaRemoteAdapter
All Implemented Interfaces:
EventDispatcherAdapterInterface

public class SienaRemoteAdapter
extends AbstractSienaAdapter


Nested Class Summary
 
Nested classes inherited from class edu.uci.isr.yancees.server.dispatcher.siena.AbstractSienaAdapter
AbstractSienaAdapter.DispatcherListenerMediator
 
Field Summary
 java.lang.String ADAPTER_NAME
           
 
Fields inherited from class edu.uci.isr.yancees.server.dispatcher.siena.AbstractSienaAdapter
DEFAULT_SIENA_ADDRESS, siena, sienaAddress, subscribersMap
 
Constructor Summary
SienaRemoteAdapter()
           
SienaRemoteAdapter(java.lang.String address)
          Constructor
 
Method Summary
 void connect()
          The connection to siena changes whether it is local or remote.
 void connect(java.lang.String address)
          Connects to siena bafore any method can be used.
 java.lang.String getAdapterName()
           
 
Methods inherited from class edu.uci.isr.yancees.server.dispatcher.siena.AbstractSienaAdapter
finalize, publish, resumeDispatcher, shutdownDispatcher, subscribe, suspendDispatcher, unsubscribe, unsubscribe
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADAPTER_NAME

public final java.lang.String ADAPTER_NAME
See Also:
Constant Field Values
Constructor Detail

SienaRemoteAdapter

public SienaRemoteAdapter(java.lang.String address)
                   throws DispatcherException
Constructor


SienaRemoteAdapter

public SienaRemoteAdapter()
Method Detail

connect

public void connect()
             throws DispatcherException
Description copied from class: AbstractSienaAdapter
The connection to siena changes whether it is local or remote.

Specified by:
connect in class AbstractSienaAdapter
Throws:
DispatcherException

connect

public void connect(java.lang.String address)
             throws DispatcherException
Connects to siena bafore any method can be used. this method is used by the architecture manager to initialize the dispatcher and is not part of the EventDispatcherInterface

Specified by:
connect in interface EventDispatcherAdapterInterface
Specified by:
connect in class AbstractSienaAdapter
Throws:
DispatcherException

getAdapterName

public java.lang.String getAdapterName()
Returns:
a name that identifies this adapter.