|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
ProtocolPluginInterface |
connectToNewProtocol(java.lang.String protocolId,
SubscriberInterface rsi)
Connects to a new instance of a protocol plug-in. |
ProtocolPluginInterface |
connectToSharedProtocol(java.lang.String protocolId,
SubscriberInterface rsi)
Connects to an existing protocol instance. |
void |
disconnectFromProtocol(java.lang.String protocolId,
SubscriberInterface rsi)
Terminates unshared protocol instances, or shared protocol instances if no more clients are connected to them. |
void |
publish(EventInterface evt)
|
void |
resumeYancees()
|
void |
shutdownYancees()
|
void |
subscribe(MessageInterface msg,
SubscriberInterface rsi)
|
void |
suspendYancees()
|
void |
unsubscribe(SubscriberInterface rsi)
|
void |
unsubscribe(SubscriberInterface rsi,
MessageInterface sub)
|
Method Detail |
public ProtocolPluginInterface connectToSharedProtocol(java.lang.String protocolId, SubscriberInterface rsi) throws YanceesException
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 ProtocolPluginInterface connectToNewProtocol(java.lang.String protocolId, SubscriberInterface rsi) throws YanceesException
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, SubscriberInterface rsi) throws YanceesException
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
YanceesException
public void subscribe(MessageInterface msg, SubscriberInterface rsi) throws YanceesException
YanceesException
public void unsubscribe(SubscriberInterface rsi) throws YanceesException
YanceesException
public void unsubscribe(SubscriberInterface rsi, MessageInterface sub) throws YanceesException
YanceesException
public void shutdownYancees() throws YanceesException
YanceesException
public void suspendYancees() throws YanceesException
YanceesException
public void resumeYancees() throws YanceesException
YanceesException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |