|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.jetrix.ProtocolManager
public class ProtocolManager
Manages protocols. Protocol instances are obtained by calling the getProtocol() method. The ProtocolManager is in charge to serve the same unique instance of the specified protocol.
| Method Summary | |
|---|---|
static ProtocolManager |
getInstance()
Returns the instance of the ProtocolManager. |
Protocol |
getProtocol(Class cls)
Returns a protocol of the specified class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ProtocolManager getInstance()
public Protocol getProtocol(Class cls)
cls - Class of the protocol to return
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||