public class

WSNioEndpoint

extends WSAbstractProtocolWrapper
implements Socket.SocketHandler
java.lang.Object
   ↳ com.ericsson.research.transport.ws.spi.WSAbstractProtocolWrapper
     ↳ com.ericsson.research.transport.ws.spi.WSNioEndpoint

Summary

[Expand]
Inherited Fields
From class com.ericsson.research.transport.ws.spi.WSAbstractProtocolWrapper
Public Constructors
WSNioEndpoint(WSAbstractProtocol protocol, WSListener listener)
WSNioEndpoint(Socket socket, WSAbstractProtocol protocol, WSListener listener)
Public Methods
void _flush()
void closed(Socket sock)
void error(Throwable exc, Socket sock)
synchronized void forceClose()
InetSocketAddress getLocalSocketAddress()
synchronized OutputStream getRawOutput()
InetSocketAddress getRemoteSocketAddress()
synchronized void open()
void opened(Socket sock)
synchronized void received(ByteBuffer data, Socket sock)
void sent(Socket sock)
String toString()
[Expand]
Inherited Methods
From class com.ericsson.research.transport.ws.spi.WSAbstractProtocolWrapper
From class java.lang.Object
From interface com.ericsson.research.transport.ws.WSInterface
From interface com.ericsson.research.transport.ws.WSListener
From interface com.ericsson.research.trap.nio.Socket.SocketHandler

Public Constructors

public WSNioEndpoint (WSAbstractProtocol protocol, WSListener listener)

Throws
IOException

public WSNioEndpoint (Socket socket, WSAbstractProtocol protocol, WSListener listener)

Public Methods

public void _flush ()

public void closed (Socket sock)

public void error (Throwable exc, Socket sock)

public synchronized void forceClose ()

public InetSocketAddress getLocalSocketAddress ()

public synchronized OutputStream getRawOutput ()

Throws
IOException

public InetSocketAddress getRemoteSocketAddress ()

public synchronized void open ()

Throws
IOException

public void opened (Socket sock)

public synchronized void received (ByteBuffer data, Socket sock)

public void sent (Socket sock)

public String toString ()