|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uci.isr.yancees.ProtocolFacade
public class ProtocolFacade
This class deals with generic messages, that are parserd by installed protocol plug-ins. For example, mobility, authentication and so on. This class stays behind the YanceesFacade class and deals specifically with protocol manipulation operations.
Method Summary | |
---|---|
ProtocolPluginInterface |
connectToNewProtocol(java.lang.String protocolId,
SubscriberInterface si)
Connects to a protocol object under the name protocolId |
ProtocolPluginInterface |
connectToSharedProtocol(java.lang.String protocolId,
SubscriberInterface si)
Connects to a protocol object under the name protocolId |
void |
disconnectFromProtocol(java.lang.String protocolId,
SubscriberInterface si)
This method informs that the protocol object is not necessary anymore, so it can be garbage collected |
protected static ProtocolFacade |
getInstance()
|
protected void |
setProtocolManager(ProtocolManager pm)
Used by the Yancees API to initialize this API. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected static ProtocolFacade getInstance()
public ProtocolPluginInterface connectToSharedProtocol(java.lang.String protocolId, SubscriberInterface si) throws YanceesException
protocolId
- is the name of the protocol plug-in to connect to
YanceesException
public ProtocolPluginInterface connectToNewProtocol(java.lang.String protocolId, SubscriberInterface si) throws YanceesException
protocolId
- is the name of the protocol plug-in to connect to
YanceesException
public void disconnectFromProtocol(java.lang.String protocolId, SubscriberInterface si) throws YanceesException
protocolId
- is the name of the protocol plug-in to connect tosi
- is the subscriber interface
YanceesException
protected void setProtocolManager(ProtocolManager pm)
pm
- is the instance of the protocol manager to be used by this
component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |