|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnonChannel
An AnonChannel could be used to send and receive data. There are different types of
channels and the transmitted data must match the (proxy-)protocol implied by the type
of the channel. A new channel is created via createChannel()
Field Summary | |
---|---|
static int |
HTTP
|
static int |
SMTP
|
static int |
SOCKS
|
Method Summary | |
---|---|
void |
close()
Closes the channel and releases all resources used. |
java.io.InputStream |
getInputStream()
The returned InputStream could be used to receive data. |
int |
getOutputBlockSize()
Returns a value that indicates the current optimum size of data to write.. |
java.io.OutputStream |
getOutputStream()
The returned OutputStream could be used to send data. |
boolean |
isClosed()
|
Field Detail |
---|
static final int HTTP
static final int SOCKS
static final int SMTP
Method Detail |
---|
java.io.InputStream getInputStream()
java.io.OutputStream getOutputStream()
int getOutputBlockSize()
void close()
boolean isClosed()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |