org.java_websocket.client
Class AbstractClientProxyChannel

java.lang.Object
  extended by org.java_websocket.AbstractWrappedByteChannel
      extended by org.java_websocket.client.AbstractClientProxyChannel
All Implemented Interfaces:
Closeable, ByteChannel, Channel, ReadableByteChannel, WritableByteChannel, WrappedByteChannel
Direct Known Subclasses:
WebSocketClient.DefaultClientProxyChannel

public abstract class AbstractClientProxyChannel
extends AbstractWrappedByteChannel


Field Summary
protected  ByteBuffer proxyHandshake
           
 
Constructor Summary
AbstractClientProxyChannel(ByteChannel towrap)
           
 
Method Summary
abstract  String buildHandShake()
           
 int write(ByteBuffer src)
           
 
Methods inherited from class org.java_websocket.AbstractWrappedByteChannel
close, isBlocking, isNeedRead, isNeedWrite, isOpen, read, readMore, writeMore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

proxyHandshake

protected final ByteBuffer proxyHandshake
Constructor Detail

AbstractClientProxyChannel

public AbstractClientProxyChannel(ByteChannel towrap)
Parameters:
towrap - The channel to the proxy server
Method Detail

write

public int write(ByteBuffer src)
          throws IOException
Specified by:
write in interface WritableByteChannel
Overrides:
write in class AbstractWrappedByteChannel
Throws:
IOException

buildHandShake

public abstract String buildHandShake()


Copyright © 2013 Pusher. All Rights Reserved.