|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocalAccessManager
Interface used by bus protocol to try to determine the local address (if not
specified in binding hints see BusProtocol.LOCAL_ADDRESS_HINT_KEY
),
and to export the access point of the local bus session.
Field Summary | |
---|---|
static String |
ITF_NAME
Default name for interfaces of this type. |
Method Summary | |
---|---|
MessagePassingOutgoingPush |
exportBus(ExportIdentifier localId,
IncomingPush incomingPush)
Export to the lower level protocol in order to create the access point of the local bus session. |
int |
findLocalAddress(ExportIdentifier[] exportIds)
Tries to find in the given array of export identifier, the one which correspond to the local protocol. |
Field Detail |
---|
static final String ITF_NAME
Method Detail |
---|
int findLocalAddress(ExportIdentifier[] exportIds) throws BindException
exportIds
- an array of export identifier.
BindException
- if no export identifier can be found or if two, or
more export identifiers may correspond to the local protocol.MessagePassingOutgoingPush exportBus(ExportIdentifier localId, IncomingPush incomingPush) throws ExportException
MessagePassingOutgoingPush.getLocalExportIdentifier()
)
must be equivalent to the given export identifier.
localId
- the identifier to obtain for the given channel.incomingPush
- the interface on which bus session want to receive
incoming messages.
ExportException
- if the export process fails.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |