org.objectweb.jonathan.protocols.api

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 Details

export

public SessionIdentifier export(Session_Low hls)
            throws ExportException,
                   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;

See Also:
org.objectweb.jonathan.model.naming_context.export(org.objectweb.jonathan.model.name)