|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static java.lang.String |
RMI_LOOKUP_NAME
|
Method Summary | |
RemoteProtocolPluginInterface |
connectToNewProtocol(java.lang.String protocolId,
RemoteSubscriberInterface rsi)
Connects to a new instance of a protocol plug-in. |
RemoteProtocolPluginInterface |
connectToSharedProtocol(java.lang.String protocolId,
RemoteSubscriberInterface rsi)
Connects to an existing protocol instance. |
void |
disconnectFromProtocol(java.lang.String protocolId,
RemoteSubscriberInterface rsi)
Terminates unshared protocol instances, or shared protocol instances if no more clients are connected to them. |
void |
publish(EventInterface evt)
Publishes an opaque event, which can be a XML file, a hashtable representation or another object that implements the eventInterface. |
void |
publish(EventInterface[] evt)
Publishes an array of opaque events, which can be XML files, hashtable representations or other objects that implements the eventInterface. |
void |
resumeYancees()
|
void |
shutdownYancees()
|
void |
subscribe(MessageInterface msg,
RemoteSubscriberInterface rsi)
Subscribers to YANCEES events. |
void |
suspendYancees()
|
void |
unsubscribe(RemoteSubscriberInterface rsi)
unsubscribes or deactivates all subscriptoins registered under the provided subscriber interface |
void |
unsubscribe(RemoteSubscriberInterface rsi,
MessageInterface sub)
unsubscribes or deactivates the subscription registered under the provided subscriber interface |
Field Detail |
public static final java.lang.String RMI_LOOKUP_NAME
Method Detail |
public RemoteProtocolPluginInterface connectToSharedProtocol(java.lang.String protocolId, RemoteSubscriberInterface rsi) throws YanceesException, java.rmi.RemoteException
protocolId
- is the name of the protocol as registered in the configuration file
and as available in the protocol factoryrsi
- is the subscriber interface that can be used to receive events from the plug-in
YanceesException
- is thrown in case of errors in the creation of the protocol plug-in
java.rmi.RemoteException
- is thrown in case of RMI related issuespublic RemoteProtocolPluginInterface connectToNewProtocol(java.lang.String protocolId, RemoteSubscriberInterface rsi) throws YanceesException, java.rmi.RemoteException
protocolId
- is the name of the protocol as registered in the configuration file
and as available in the protocol factoryrsi
- is the subscriber interface that can be used to receive events from the plug-in
YanceesException
- is thrown in case of errors in the creation of the protocol plug-in
java.rmi.RemoteException
- is thrown in case of RMI related issuespublic void disconnectFromProtocol(java.lang.String protocolId, RemoteSubscriberInterface rsi) throws YanceesException, java.rmi.RemoteException
protocolId
- is the name of the protocol as registered in the configuration file
and as available in the protocol factoryrsi
- is the subscriber interface that can be used to receive events from the plug-in
YanceesException
- is thrown in case of errors in the creation of the protocol plug-in
java.rmi.RemoteException
- is thrown in case of RMI related issuespublic void publish(EventInterface evt) throws YanceesException, java.rmi.RemoteException
evt
- is the event being published
YanceesException
java.rmi.RemoteException
public void publish(EventInterface[] evt) throws YanceesException, java.rmi.RemoteException
evt
- is the event being published
YanceesException
java.rmi.RemoteException
public void subscribe(MessageInterface msg, RemoteSubscriberInterface rsi) throws YanceesException, java.rmi.RemoteException
msg
- is the subscriptionrsi
- is the remote interface to receive the events when the subscription matches
YanceesException
java.rmi.RemoteException
public void unsubscribe(RemoteSubscriberInterface rsi) throws YanceesException, java.rmi.RemoteException
rsi
- is the remote interface used to receive the events when the subscription matches
YanceesException
java.rmi.RemoteException
public void unsubscribe(RemoteSubscriberInterface rsi, MessageInterface sub) throws YanceesException, java.rmi.RemoteException
rsi
- is the remote interface used to receive the events when the subscription matchessub
- is the subscription message
YanceesException
java.rmi.RemoteException
public void shutdownYancees() throws YanceesException, java.rmi.RemoteException
YanceesException
java.rmi.RemoteException
public void suspendYancees() throws YanceesException, java.rmi.RemoteException
YanceesException
java.rmi.RemoteException
public void resumeYancees() throws YanceesException, java.rmi.RemoteException
YanceesException
java.rmi.RemoteException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |