| Package | Description |
|---|---|
| com.sshtools.synergy.nio | |
| com.sshtools.synergy.nio.ssl | |
| com.sshtools.synergy.ssh |
| Modifier and Type | Field and Description |
|---|---|
protected SelectorThread |
SocketConnection.selectorThread |
| Modifier and Type | Method and Description |
|---|---|
SelectorThread |
SocketConnection.getSelectorThread() |
SelectorThread |
SocketHandler.getSelectorThread()
Get the selector thread this handler is connected to.
|
SelectorThread |
SocketConnection.getThread()
Get the selector thread for this connection
|
SelectorThread |
SelectorThreadPool.selectNextThread()
Select the next available thread with the minimum load.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SelectorThreadImpl.processSelectionKey(java.nio.channels.SelectionKey key,
SelectorThread thread)
Process a selection key.
|
void |
SshEngine.registerHandler(SocketHandler handler,
java.nio.channels.SelectableChannel channel,
SelectorThread thread)
Register a socket handler with the daemon.
|
void |
SocketConnection.registrationCompleted(java.nio.channels.SelectableChannel channel,
java.nio.channels.SelectionKey key,
SelectorThread selectorThread)
The sockets channel has completed registration.
|
void |
SelectorRegistrationListener.registrationCompleted(java.nio.channels.SelectableChannel channel,
java.nio.channels.SelectionKey key,
SelectorThread selectorThread)
The registration completed and its selector added to an available
SelectorThread |
void |
SocketConnection.setThread(SelectorThread thread)
Set the selector thread for this connection
|
void |
SocketHandler.setThread(SelectorThread thread)
Sets the selector thread this handler runs upon
|
| Modifier and Type | Method and Description |
|---|---|
void |
SSLSocketConnection.registrationCompleted(java.nio.channels.SelectableChannel channel,
java.nio.channels.SelectionKey key,
SelectorThread selectorThread)
This method is called once the socket is registered with a SelectorThread.
|
void |
SSLContextConnection.registrationCompleted(java.nio.channels.SelectableChannel channel,
java.nio.channels.SelectionKey key,
SelectorThread selectorThread)
This method is called once the socket is registered with a SelectorThread.
|
| Modifier and Type | Field and Description |
|---|---|
protected SelectorThread |
SocketForwardingChannel.selectorThread |
| Modifier and Type | Method and Description |
|---|---|
SelectorThread |
SocketForwardingChannel.getSelectorThread() |
| Modifier and Type | Method and Description |
|---|---|
void |
SocketForwardingChannel.registrationCompleted(java.nio.channels.SelectableChannel channel,
java.nio.channels.SelectionKey key,
SelectorThread selectorThread) |
void |
SocketForwardingChannel.setThread(SelectorThread thread)
Sets the selector thread for this connection
|
Copyright © 2021. All rights reserved.