Modifier and Type | Method and Description |
---|---|
SelectionRegistration |
SelectionChannel.getRegistration()
Returns the NIO registration.
|
Modifier and Type | Method and Description |
---|---|
void |
WakeupListener.onWokeup(SelectionRegistration selectionRegistration)
Callback method invoked when the selection registration wants to wake up
the NIO selector.
|
Modifier and Type | Method and Description |
---|---|
SelectionRegistration |
WrapperSelectionChannel.getRegistration()
Returns the NIO registration.
|
SelectionRegistration |
WrapperSocketChannel.getRegistration()
Returns the NIO registration.
|
Modifier and Type | Method and Description |
---|---|
void |
WrapperSelectionChannel.setRegistration(SelectionRegistration registration)
Sets the NIO registration.
|
Constructor and Description |
---|
ReadableSocketChannel(SocketChannel wrappedChannel,
SelectionRegistration registration)
Constructor.
|
WrapperSelectionChannel(T wrappedChannel,
SelectionRegistration registration)
Constructor.
|
WrapperSocketChannel(SocketChannel wrappedChannel,
SelectionRegistration registration)
Constructor.
|
WritableSocketChannel(SocketChannel wrappedChannel,
SelectionRegistration registration)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SelectionRegistration |
Connection.getRegistration()
Returns the socket's NIO registration holding the link between the
SocketChannel and the Connection . |
Modifier and Type | Method and Description |
---|---|
void |
Connection.onSelected(SelectionRegistration registration)
Callback method invoked when the connection has been selected for IO
operations it registered interest in.
|
void |
Connection.setRegistration(SelectionRegistration registration)
Sets the socket's NIO registration holding the link between the channel
and the way.
|
Modifier and Type | Method and Description |
---|---|
SelectionRegistration |
ConnectionController.register(SelectableChannel selectableChannel,
int interestOperations,
SelectionListener listener)
Registers a selection listener with the underlying selector for the given
operations and returns the registration created.
|
Modifier and Type | Method and Description |
---|---|
protected Queue<SelectionRegistration> |
ConnectionController.getNewRegistrations()
Returns the queue of new selection registrations.
|
protected Queue<SelectionRegistration> |
ConnectionController.getUpdatedRegistrations()
Returns the queue of updated selection registrations.
|
Modifier and Type | Method and Description |
---|---|
void |
ConnectionController.onWokeup(SelectionRegistration selectionRegistration)
Invoked when one of the connections needs to wake up the controller.
|
Modifier and Type | Method and Description |
---|---|
protected SelectionRegistration |
InboundWay.getEntityRegistration()
Returns the NIO selection registration of the entity.
|
SelectionRegistration |
Way.getRegistration()
Returns the socket's NIO registration holding the link between the
channel and the connection.
|
Modifier and Type | Method and Description |
---|---|
void |
Way.onSelected(SelectionRegistration selectionRegistration)
Callback method invoked when the way has been selected for IO operations
it registered interest in.
|
protected void |
InboundWay.setEntityRegistration(SelectionRegistration entityRegistration)
Sets the NIO selection registration of the entity.
|
protected void |
Way.setRegistration(SelectionRegistration registration)
Sets the NIO selection registration holding the link between the
connection and the way.
|
Modifier and Type | Method and Description |
---|---|
SelectionRegistration |
Representation.getRegistration()
Returns the NIO registration of the related channel with its selector.
|
Modifier and Type | Method and Description |
---|---|
SelectionRegistration |
WrapperRepresentation.getRegistration() |
Modifier and Type | Method and Description |
---|---|
void |
SelectionListener.onSelected(SelectionRegistration selectionRegistration)
Callback method invoked when the connection has been selected for IO
operations it registered interest in.
|
void |
ReadingListener.onSelected(SelectionRegistration selectionRegistration)
Callback invoked when new content is available.
|
Copyright © 2005–2017. All rights reserved.