Example usage for Java org.springframework.messaging.tcp TcpConnection fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Close the connection. |
void | onReadInactivity(Runnable runnable, long duration) Register a task to invoke after a period of read inactivity. |
void | onWriteInactivity(Runnable runnable, long duration) Register a task to invoke after a period of write inactivity. |
ListenableFuture | send(Message message) Send the given message. |