|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A session identifier represents an exported session. In other words, it is a
name, managed by a specific
naming context of type
Protocol, and representing a session.
The internal structure of a session identifier is protocol specific: each protocol may define its own SessionIdentifier type so that it can contain protocol specific information: host name, port...
Session identifiers are created when "server" objects are exported, and
can typically be encoded in
identifiers. On the
"client" side, they can be decoded and used to establish communication channels.
Protocol| Method Summary | |
Session_High |
bind(Session_Low hls)
Returns a local session representing the session designated by the provided lower session interface. |
Protocol |
getProtocol()
Returns the protocol that created this session identifier. |
void |
unexport()
Unexporting a session identifier means that the target session identifier no longer designates the session it was created for. |
| Method Detail |
public Protocol getProtocol()
public void unexport()
public Session_High bind(Session_Low hls)
throws BindException,
JonathanException
This operation is used by a protocol to establish a communication channel to the session specified by the target session identifier. The provided lower session interface is used to receive messages using the opened channel.
hls - a session to receive messages on the opened communication channel;BindException - if the bind process fails.JonathanException - if something else goes wrong.binder.bind(org.objectweb.jonathan.model.name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||