|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SelectionRegistration | |
|---|---|
| org.restlet.engine.connector | New advanced internal HTTP connector. |
| org.restlet.engine.io | Supports input and output work. |
| org.restlet.representation | Common representation data elements. |
| org.restlet.util | Various utility classes. |
| Uses of SelectionRegistration in org.restlet.engine.connector |
|---|
| Methods in org.restlet.engine.connector that return SelectionRegistration | |
|---|---|
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. |
SelectionRegistration |
Connection.getRegistration()
Returns the socket's NIO registration holding the link between the SocketChannel and the Connection. |
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. |
| Methods in org.restlet.engine.connector that return types with arguments of type SelectionRegistration | |
|---|---|
protected Queue<SelectionRegistration> |
ConnectionController.getNewRegistrations()
Returns the queue of new selection registrations. |
protected Queue<SelectionRegistration> |
ConnectionController.getUpdatedRegistrations()
Returns the queue of updated selection registrations. |
| Methods in org.restlet.engine.connector with parameters of type SelectionRegistration | |
|---|---|
void |
Way.onSelected(SelectionRegistration selectionRegistration)
Callback method invoked when the way has been selected for IO operations it registered interest in. |
void |
Connection.onSelected(SelectionRegistration registration)
Callback method invoked when the connection has been selected for IO operations it registered interest in. |
void |
ConnectionController.onWokeup(SelectionRegistration selectionRegistration)
Invoked when one of the connections needs to wake up the controller. |
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. |
void |
Connection.setRegistration(SelectionRegistration registration)
Sets the socket's NIO registration holding the link between the channel and the way. |
| Uses of SelectionRegistration in org.restlet.engine.io |
|---|
| Methods in org.restlet.engine.io that return SelectionRegistration | |
|---|---|
SelectionRegistration |
WrapperSelectionChannel.getRegistration()
Returns the NIO registration. |
SelectionRegistration |
SelectionChannel.getRegistration()
Returns the NIO registration. |
SelectionRegistration |
WrapperSocketChannel.getRegistration()
Returns the NIO registration. |
| Methods in org.restlet.engine.io with parameters of type SelectionRegistration | |
|---|---|
void |
WakeupListener.onWokeup(SelectionRegistration selectionRegistration)
Callback method invoked when the selection registration wants to wake up the NIO selector. |
void |
WrapperSelectionChannel.setRegistration(SelectionRegistration registration)
Sets the NIO registration. |
| Constructors in org.restlet.engine.io with parameters of type SelectionRegistration | |
|---|---|
ReadableSocketChannel(SocketChannel wrappedChannel,
SelectionRegistration registration)
Constructor. |
|
WrapperSelectionChannel(T wrappedChannel,
SelectionRegistration registration)
Constructor. |
|
WrapperSocketChannel(SocketChannel wrappedChannel,
SelectionRegistration registration)
Constructor. |
|
WritableSocketChannel(SocketChannel wrappedChannel,
SelectionRegistration registration)
Constructor. |
|
| Uses of SelectionRegistration in org.restlet.representation |
|---|
| Methods in org.restlet.representation that return SelectionRegistration | |
|---|---|
SelectionRegistration |
Representation.getRegistration()
Returns the NIO registration of the related channel with its selector. |
| Uses of SelectionRegistration in org.restlet.util |
|---|
| Methods in org.restlet.util that return SelectionRegistration | |
|---|---|
SelectionRegistration |
WrapperRepresentation.getRegistration()
|
| Methods in org.restlet.util with parameters of type SelectionRegistration | |
|---|---|
void |
ReadingListener.onSelected(SelectionRegistration selectionRegistration)
Callback invoked when new content is available. |
void |
SelectionListener.onSelected(SelectionRegistration selectionRegistration)
Callback method invoked when the connection has been selected for IO operations it registered interest in. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||