|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.jonathan.protocols.multiplex.lib.MultiplexProtocol
Simple protocol relaying messages between other protocol layers. Can actually have any number of lower level protocols, as such it may be seen as a crude MultiplexProtocol.
| Constructor Summary | |
MultiplexProtocol(org.objectweb.jonathan.apis.kernel.ContextFactory context_factory,
boolean verbose,
MultiplexingPolicyFactory policy_factory)
|
|
| Method Summary | |
ProtocolGraph |
createProtocolGraph(ProtocolGraph[] subgraphs,
org.objectweb.jonathan.apis.kernel.Context hints)
Creates a new protocol graph with a number of given sub protocol graphs. |
SessionIdentifier |
createSessionIdentifier(Properties info,
SessionIdentifier[] next)
Creates a new session identifier with the provided info |
boolean |
isAnInvocationProtocol()
Returns true if the target protocol is an invocation protocol. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MultiplexProtocol(org.objectweb.jonathan.apis.kernel.ContextFactory context_factory,
boolean verbose,
MultiplexingPolicyFactory policy_factory)
| Method Detail |
public boolean isAnInvocationProtocol()
Protocol
An invocation protocol is a protocol able to handle invocations, i.e.,
requests expecting a reply. In practice, this means that calls to the
prepareInvocation method
on sessions obtained from the target protocol will not raise an
InternalException, but perform the appropriate work.
isAnInvocationProtocol in interface Protocol
public ProtocolGraph createProtocolGraph(ProtocolGraph[] subgraphs,
org.objectweb.jonathan.apis.kernel.Context hints)
Protocol
createProtocolGraph in interface Protocolsubgraphs - the lower-level graphshints - the information req'd to build the graph
public SessionIdentifier createSessionIdentifier(Properties info,
SessionIdentifier[] next)
Protocol
createSessionIdentifier in interface Protocol
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||