public class WebSocketTtyConnection
extends io.termd.core.http.HttpTtyConnection
| Constructor and Description |
|---|
WebSocketTtyConnection(io.undertow.websockets.core.WebSocketChannel webSocketChannel,
ScheduledExecutorService executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
addReadonlyChannel(ReadOnlyChannel webSocketChannel) |
void |
close() |
void |
execute(Runnable task) |
boolean |
isOpen() |
void |
removeReadonlyChannel(ReadOnlyChannel webSocketChannel) |
void |
removeWebSocketChannel() |
void |
schedule(Runnable task,
long delay,
TimeUnit unit) |
void |
setWebSocketChannel(io.undertow.websockets.core.WebSocketChannel webSocketChannel) |
protected void |
write(byte[] buffer) |
getCloseHandler, getEventHandler, getSizeHandler, getStdinHandler, getTermHandler, setCloseHandler, setEventHandler, setSizeHandler, setStdinHandler, setTermHandler, size, stdoutHandler, term, writeToDecoderpublic WebSocketTtyConnection(io.undertow.websockets.core.WebSocketChannel webSocketChannel,
ScheduledExecutorService executor)
protected void write(byte[] buffer)
write in class io.termd.core.http.HttpTtyConnectionpublic void execute(Runnable task)
public boolean isOpen()
public void setWebSocketChannel(io.undertow.websockets.core.WebSocketChannel webSocketChannel)
public void addReadonlyChannel(ReadOnlyChannel webSocketChannel)
public void removeReadonlyChannel(ReadOnlyChannel webSocketChannel)
public void removeWebSocketChannel()
public void close()
Copyright © 2015. All rights reserved.