public class FilteredGuacamoleSocket extends DelegatingGuacamoleSocket
| Constructor and Description |
|---|
FilteredGuacamoleSocket(GuacamoleSocket socket,
GuacamoleFilter readFilter,
GuacamoleFilter writeFilter)
Creates a new FilteredGuacamoleSocket which uses the given filters to
determine whether instructions read/written are allowed through,
modified, etc.
|
| Modifier and Type | Method and Description |
|---|---|
GuacamoleReader |
getReader()
Returns a GuacamoleReader which can be used to read from the
Guacamole instruction stream associated with the connection
represented by this GuacamoleSocket.
|
GuacamoleWriter |
getWriter()
Returns a GuacamoleWriter which can be used to write to the
Guacamole instruction stream associated with the connection
represented by this GuacamoleSocket.
|
close, getDelegateSocket, getProtocol, isOpenpublic FilteredGuacamoleSocket(GuacamoleSocket socket, GuacamoleFilter readFilter, GuacamoleFilter writeFilter)
socket - The GuacamoleSocket to wrap.readFilter - The GuacamoleFilter to apply to all read instructions,
if any.writeFilter - The GuacamoleFilter to apply to all written
instructions, if any.public GuacamoleReader getReader()
GuacamoleSocketgetReader in interface GuacamoleSocketgetReader in class DelegatingGuacamoleSocketpublic GuacamoleWriter getWriter()
GuacamoleSocketgetWriter in interface GuacamoleSocketgetWriter in class DelegatingGuacamoleSocketCopyright © 2020. All rights reserved.