|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RemoteYanceesInterface
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 |
publishBuffer(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(SubscriptionInterface sub,
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 |
---|
static final java.lang.String RMI_LOOKUP_NAME
Method Detail |
---|
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 issuesRemoteProtocolPluginInterface 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 issuesvoid 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 issuesvoid publish(EventInterface evt) throws YanceesException, java.rmi.RemoteException
evt
- is the event being published
YanceesException
java.rmi.RemoteException
void publishBuffer(EventInterface[] evt) throws YanceesException, java.rmi.RemoteException
evt
- is the event being published
YanceesException
java.rmi.RemoteException
void subscribe(SubscriptionInterface sub, RemoteSubscriberInterface rsi) throws YanceesException, java.rmi.RemoteException
sub
- is the subscriptionrsi
- is the remote interface to receive the events when the subscription matches
YanceesException
java.rmi.RemoteException
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
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
void shutdownYancees() throws YanceesException, java.rmi.RemoteException
YanceesException
java.rmi.RemoteException
void suspendYancees() throws YanceesException, java.rmi.RemoteException
YanceesException
java.rmi.RemoteException
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 |