|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientInterface
Architecture interface for component Client
.
Used to anonymize data (e. g. from a user's application) via a cascade of
mixes. Follows the "everything is a stream" concept. From a user
perspective, a client shall behaves quite equal to a socket (
java.net.Socket
) and therefore abstract from the underlying technique.
Method Summary | |
---|---|
void |
connect()
Must connect (the implementing) client to the mix cascade. |
void |
disconnect()
Must disconnect (the implementing) client from the mix cascade. |
java.io.InputStream |
getInputStream()
Must return an InputStream that can be used to receive data
anonymously via the mix cascade. |
java.io.OutputStream |
getOutputStream()
Must return an OutputStream that can be used to send data
anonymously via the mix cascade. |
Method Detail |
---|
void connect() throws java.io.IOException
java.io.IOException
- I/O problem occurred.void disconnect() throws java.io.IOException
java.io.IOException
- I/O problem occurred.java.io.InputStream getInputStream()
InputStream
that can be used to receive data
anonymously via the mix cascade.
InputStream
that can be used to receive data
anonymously.
java.io.IOException
- I/O problem occurred.java.io.OutputStream getOutputStream()
OutputStream
that can be used to send data
anonymously via the mix cascade.
OutputStream
that can be used to send data
anonymously.
java.io.IOException
- I/O problem occurred.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |