public interface SocketConnectionIf
| Modifier and Type | Method and Description |
|---|---|
Socket |
getSocket()
Returns a reference to the underlying socket.
|
void |
replaceStreams(InputStream is,
OutputStream os)
Replaces the current socket's input/output
streams by the ones provided.
|
void |
setSocket(Socket s)
Replaces the underlying socket.
|
void |
setSubject(Subject subject)
Sets the subject authenticated through this socket connection.
|
Socket getSocket()
void setSocket(Socket s) throws IOException
IOExceptionvoid replaceStreams(InputStream is, OutputStream os) throws IOException
IOExceptionvoid setSubject(Subject subject)
Copyright © 2019 Terracotta, Inc.. All rights reserved.