ReadHandler and writes data
to Writer.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | Connection.
Transport close listener that receives connection close notifications from Tyrus. |
| Modifier and Type | Method and Description |
|---|---|
| public void | close(CloseReason
for closing the actual connection. reason)Notifies tyrus that underlying transport is closing the connection. |
| public Connection. | Returns: close listener provided when the connection is created.Returns the same close listener that is passed for creating connection in
|
| public ReadHandler | |
| public Writer | Returns: transport writer that actually writes websocket data to underlying connection.Returns the same writer that is passed for creating connection in
|
| close | back to summary |
|---|---|
| public void close(CloseReason reason) Notifies tyrus that underlying transport is closing the connection.
| |
| getCloseListener | back to summary |
|---|---|
| public Connection. Returns the same close listener that is passed for creating connection in
This transport close listener receives connection close notifications from Tyrus.
| |
| getReadHandler | back to summary |
|---|---|
| public ReadHandler getReadHandler() Returns a read handler. A transport can pass websocket data to tyrus using the handler.
| |
| getWriter | back to summary |
|---|---|
| public Writer getWriter() Returns the same writer that is passed for creating connection in
| |
| Modifier and Type | Method and Description |
|---|---|
| public void | close(CloseReason
for closing the connection. reason)Tyrus notifies that logical connection is closed. |
| close | back to summary |
|---|---|
| public void close(CloseReason reason) Tyrus notifies that logical connection is closed.
| |