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, writeMoreprotected final ByteBuffer proxyHandshake
public AbstractClientProxyChannel(ByteChannel towrap)
towrap - The channel to the proxy serverpublic int write(ByteBuffer src) throws IOException
write in interface WritableByteChannelwrite in class AbstractWrappedByteChannelIOExceptionpublic abstract String buildHandShake()
Copyright © 2017. All rights reserved.