|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface YanceesInterface
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(SubscriptionInterface msg,
SubscriberInterface rsi)
|
void |
suspendYancees()
|
void |
unsubscribe(SubscriberInterface rsi)
|
void |
unsubscribe(SubscriberInterface rsi,
MessageInterface sub)
|
Method Detail |
---|
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 issuesProtocolPluginInterface 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 issuesvoid 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 issuesvoid publish(EventInterface evt) throws YanceesException
YanceesException
void subscribe(SubscriptionInterface msg, SubscriberInterface rsi) throws YanceesException
YanceesException
void unsubscribe(SubscriberInterface rsi) throws YanceesException
YanceesException
void unsubscribe(SubscriberInterface rsi, MessageInterface sub) throws YanceesException
YanceesException
void shutdownYancees() throws YanceesException
YanceesException
void suspendYancees() throws YanceesException
YanceesException
void resumeYancees() throws YanceesException
YanceesException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |