public interface NeighbourResolutionService
Modifier and Type | Method and Description |
---|---|
java.util.Map<ConnectPoint,java.util.Collection<NeighbourHandlerRegistration>> |
getHandlerRegistrations()
Gets the neighbour message handlers that have been registered with the
service.
|
void |
registerNeighbourHandler(ConnectPoint connectPoint,
NeighbourMessageHandler handler,
ApplicationId appId)
Registers a neighbour message handler for all neighbour messages
incoming on the given connect point.
|
void |
registerNeighbourHandler(Interface intf,
NeighbourMessageHandler handler,
ApplicationId appId)
Registers a neighbour message handler for all neighbour messages incoming
on the given interface.
|
void |
unregisterNeighbourHandler(ConnectPoint connectPoint,
NeighbourMessageHandler handler,
ApplicationId appId)
Unregisters a neighbour message handler that was assigned to a connect
point.
|
void |
unregisterNeighbourHandler(Interface intf,
NeighbourMessageHandler handler,
ApplicationId appId)
Unregisters a neighbour message handler that was assigned to an interface.
|
void |
unregisterNeighbourHandlers(ApplicationId appId)
Unregisters all neighbour handlers that were registered by the given
application.
|
void registerNeighbourHandler(ConnectPoint connectPoint, NeighbourMessageHandler handler, ApplicationId appId)
connectPoint
- connect pointhandler
- neighbour message handlerappId
- application IDvoid registerNeighbourHandler(Interface intf, NeighbourMessageHandler handler, ApplicationId appId)
intf
- interfacehandler
- neighbour message handlerappId
- application IDvoid unregisterNeighbourHandler(ConnectPoint connectPoint, NeighbourMessageHandler handler, ApplicationId appId)
connectPoint
- connect pointhandler
- neighbour message handlerappId
- application IDvoid unregisterNeighbourHandler(Interface intf, NeighbourMessageHandler handler, ApplicationId appId)
intf
- interfacehandler
- neighbour message handlerappId
- application IDvoid unregisterNeighbourHandlers(ApplicationId appId)
appId
- application IDjava.util.Map<ConnectPoint,java.util.Collection<NeighbourHandlerRegistration>> getHandlerRegistrations()