IOSession.
| Modifier and Type | Method and Description |
|---|---|
| public NamedEndpoint | |
| public default void | registerProtocol(String
the application protocol ID protocolId, ProtocolUpgradeHandler the upgrade handler. upgradeHandler)Registers protocol upgrade handler with the given application protocol ID. |
| public default void | switchProtocol(String
the application protocol ID protocolId, FutureCallback<ProtocolIOSession> the result callback callback)Switches this I/O session to the application protocol with the given ID. |
| getInitialEndpoint | back to summary |
|---|---|
| public NamedEndpoint getInitialEndpoint() | |
| registerProtocol | back to summary |
|---|---|
| public default void registerProtocol(String protocolId, ProtocolUpgradeHandler upgradeHandler) Registers protocol upgrade handler with the given application protocol ID.
| |
| switchProtocol | back to summary |
|---|---|
| public default void switchProtocol(String protocolId, FutureCallback<ProtocolIOSession> callback) throws UnsupportedOperationException Switches this I/O session to the application protocol with the given ID.
| |