org.objectweb.jonathan.apis.protocols
Interface ProtocolGraph


public interface ProtocolGraph

See Also:
Protocol

Method Summary
 SessionIdentifier export(Session_Low hls)
          Exports a session using the graph represented by the target object.
 

Method Detail

export

public SessionIdentifier export(Session_Low hls)
                         throws ExportException,
                                org.objectweb.jonathan.apis.kernel.JonathanException
Exports a session using the graph represented by the target object.

This method informs the protocol that the provided session is willing to accept messages. The returned session identifier is a specific name for the exported session. For a more general explanation, see here.

Parameters:
hls - a session to export;
Returns:
an identifier for the exported session.
Throws:
ExportException - if the export process fails;
org.objectweb.jonathan.apis.kernel.JonathanException - if another error occurs.
See Also:
naming_context.export(org.objectweb.jonathan.model.name)