public class TypeFilterDataChain extends java.lang.Object implements AnonChannel
HTTP, SMTP, SOCKS, TCP, UDP, UDP_OVER_TCP, UDP_OVER_UDP, VPN| Constructor and Description |
|---|
TypeFilterDataChain(AnonChannel a_originChannel,
int a_dataChainType) |
| Modifier and Type | Method and Description |
|---|---|
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()
Returns if the channel is already closed, i.e. no data can be sent / recieved any more on this channel.
|
public TypeFilterDataChain(AnonChannel a_originChannel, int a_dataChainType)
public java.io.InputStream getInputStream()
AnonChannelgetInputStream in interface AnonChannelpublic java.io.OutputStream getOutputStream()
AnonChannelgetOutputStream in interface AnonChannelpublic int getOutputBlockSize()
AnonChannelgetOutputBlockSize in interface AnonChannelpublic void close()
AnonChannelclose in interface AnonChannelpublic boolean isClosed()
AnonChannelisClosed in interface AnonChanneltrue, if the channel is already closedCopyright © 2023. All rights reserved.