|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SocketConnectionIf
This interface specifies methods to manipulate the socket and its input/output streams in a socket-based connection.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
Socket getSocket()
void setSocket(Socket s)
throws IOException
IOException
void replaceStreams(InputStream is,
OutputStream os)
throws IOException
IOExceptionvoid setSubject(Subject subject)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||