public class Router extends BaseHandler
Modifier and Type | Class and Description |
---|---|
static class |
Router.Routes<T extends Link> |
Constructor and Description |
---|
Router() |
Modifier and Type | Method and Description |
---|---|
String |
getAddress(Receiver rcv) |
String |
getAddress(Sender snd) |
Router.Routes<Receiver> |
getIncoming(String address) |
Router.Routes<Sender> |
getOutgoing(String address) |
void |
onLinkFinal(Event evt) |
void |
onLinkLocalClose(Event evt) |
void |
onLinkLocalOpen(Event evt) |
add, children, getHandler, getHandler, handle, onConnectionBound, onConnectionFinal, onConnectionInit, onConnectionLocalClose, onConnectionLocalOpen, onConnectionRemoteClose, onConnectionRemoteOpen, onConnectionUnbound, onDelivery, onLinkFlow, onLinkInit, onLinkLocalDetach, onLinkRemoteClose, onLinkRemoteDetach, onLinkRemoteOpen, onReactorFinal, onReactorInit, onReactorQuiesced, onSelectableError, onSelectableExpired, onSelectableFinal, onSelectableInit, onSelectableReadable, onSelectableUpdated, onSelectableWritable, onSessionFinal, onSessionInit, onSessionLocalClose, onSessionLocalOpen, onSessionRemoteClose, onSessionRemoteOpen, onTimerTask, onTransport, onTransportClosed, onTransportError, onTransportHeadClosed, onTransportTailClosed, onUnhandled, setHandler, setHandler
public Router.Routes<Sender> getOutgoing(String address)
public Router.Routes<Receiver> getIncoming(String address)
public void onLinkLocalOpen(Event evt)
onLinkLocalOpen
in interface CoreHandler
onLinkLocalOpen
in class BaseHandler
public void onLinkLocalClose(Event evt)
onLinkLocalClose
in interface CoreHandler
onLinkLocalClose
in class BaseHandler
public void onLinkFinal(Event evt)
onLinkFinal
in interface CoreHandler
onLinkFinal
in class BaseHandler
Copyright © 2016 The Apache Software Foundation. All rights reserved.