public abstract class AbstractClientProxyChannel extends AbstractWrappedByteChannel
Modifier and Type | Field and Description |
---|---|
protected ByteBuffer |
proxyHandshake |
Constructor and Description |
---|
AbstractClientProxyChannel(ByteChannel towrap) |
Modifier and Type | Method and Description |
---|---|
abstract String |
buildHandShake() |
int |
write(ByteBuffer src) |
close, isBlocking, isNeedRead, isNeedWrite, isOpen, read, readMore, writeMore
protected final ByteBuffer proxyHandshake
public AbstractClientProxyChannel(ByteChannel towrap)
towrap
- The channel to the proxy serverpublic int write(ByteBuffer src) throws IOException
write
in interface WritableByteChannel
write
in class AbstractWrappedByteChannel
IOException
public abstract String buildHandShake()
Copyright © 2013. All Rights Reserved.