Package org.eclipse.net4j.tcp

# Schnittstelle ITCPSelector

public interface ITCPSelector
Encapsulates a Java `socket selector` and orchestrates a number of `active` and `passive` consumers, usually `connectors` and `acceptors` that compete for the socket selector's I/O time.

Autor:
  Eike Stepper
No Implement
  This interface is not intended to be implemented by clients.
No Extend
  This interface is not intended to be extended by clients.

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`Selector`
`getSocketSelector()`
`void`
`orderConnectInterest(SelectionKey selectionKey, boolean client, boolean on)`
`void`
`orderReadInterest(SelectionKey selectionKey, boolean client, boolean on)`
`void`
`orderRegistration(ServerSocketChannel channel, ITCPPassiveSelectorListener listener)`
`void`
`orderRegistration(SocketChannel channel, boolean client, ITCPActiveSelectorListener listener)`
`void`
`orderWriteInterest(SelectionKey selectionKey, boolean client, boolean on)`

## Methodendetails

### getSocketSelector

Selector getSocketSelector()

### orderRegistration

void orderRegistration(ServerSocketChannel channel, ITCPPassiveSelectorListener listener)

### orderRegistration

void orderRegistration(SocketChannel channel, boolean client, ITCPActiveSelectorListener listener)

### orderConnectInterest

void orderConnectInterest(SelectionKey selectionKey, boolean client, boolean on)

### orderReadInterest

void orderReadInterest(SelectionKey selectionKey, boolean client, boolean on)

### orderWriteInterest

void orderWriteInterest(SelectionKey selectionKey, boolean client, boolean on)