public class Driver extends BaseHandler
| Constructor and Description |
|---|
Driver(Collector collector,
Handler... handlers) |
| Modifier and Type | Method and Description |
|---|---|
void |
listen(String host,
int port) |
void |
onConnectionLocalOpen(Event evt) |
void |
onTransport(Event evt) |
void |
processEvents() |
void |
run() |
add, children, getHandler, getHandler, handle, onConnectionBound, onConnectionFinal, onConnectionInit, onConnectionLocalClose, onConnectionRemoteClose, onConnectionRemoteOpen, onConnectionUnbound, onDelivery, onLinkFinal, onLinkFlow, onLinkInit, onLinkLocalClose, onLinkLocalDetach, onLinkLocalOpen, onLinkRemoteClose, onLinkRemoteDetach, onLinkRemoteOpen, onReactorFinal, onReactorInit, onReactorQuiesced, onSelectableError, onSelectableExpired, onSelectableFinal, onSelectableInit, onSelectableReadable, onSelectableUpdated, onSelectableWritable, onSessionFinal, onSessionInit, onSessionLocalClose, onSessionLocalOpen, onSessionRemoteClose, onSessionRemoteOpen, onTimerTask, onTransportClosed, onTransportError, onTransportHeadClosed, onTransportTailClosed, onUnhandled, setHandler, setHandlerpublic Driver(Collector collector, Handler... handlers) throws IOException
IOExceptionpublic void listen(String host, int port) throws IOException
IOExceptionpublic void run()
throws IOException
IOExceptionpublic void processEvents()
public void onTransport(Event evt)
onTransport in interface CoreHandleronTransport in class BaseHandlerpublic void onConnectionLocalOpen(Event evt)
onConnectionLocalOpen in interface CoreHandleronConnectionLocalOpen in class BaseHandlerCopyright © 2025 The Apache Software Foundation. All rights reserved.