public abstract class

WSAbstractProtocolWrapper

extends Object
implements WSInterface WSListener
java.lang.Object
   ↳ com.ericsson.research.transport.ws.spi.WSAbstractProtocolWrapper
Known Direct Subclasses
Known Indirect Subclasses

Summary

Fields
protected WSListener listener
protected WSAbstractProtocol protocol
Public Constructors
WSAbstractProtocolWrapper(WSAbstractProtocol protocol, WSListener listener)
Public Methods
void close()
abstract void forceClose()
WSAbstractProtocol getProtocol()
abstract OutputStream getRawOutput()
void notifyClose()
void notifyConnected()
void notifyDisconnected()
void notifyError(Exception e)
void notifyError(Throwable t)
void notifyMessage(String utf8String)
void notifyMessage(byte[] data)
void notifyOpen(WSInterface socket)
void notifyPong(byte[] payload)
void notifySocketData(byte[] data, int length)
void open()
void ping(byte[] payload)
void send(byte[] binaryData)
void send(String utf8String)
void setReadListener(WSListener listener)
Protected Methods
void setProtocol(WSAbstractProtocol protocol)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.ericsson.research.transport.ws.WSInterface
From interface com.ericsson.research.transport.ws.WSListener

Fields

protected WSListener listener

protected WSAbstractProtocol protocol

Public Constructors

public WSAbstractProtocolWrapper (WSAbstractProtocol protocol, WSListener listener)

Public Methods

public void close ()

public abstract void forceClose ()

public WSAbstractProtocol getProtocol ()

public abstract OutputStream getRawOutput ()

Throws
IOException

public void notifyClose ()

public void notifyConnected ()

public void notifyDisconnected ()

public void notifyError (Exception e)

public void notifyError (Throwable t)

public void notifyMessage (String utf8String)

public void notifyMessage (byte[] data)

public void notifyOpen (WSInterface socket)

public void notifyPong (byte[] payload)

public void notifySocketData (byte[] data, int length)

public void open ()

Throws
IOException

public void ping (byte[] payload)

Throws
IOException

public void send (byte[] binaryData)

Throws
IOException

public void send (String utf8String)

Throws
IOException

public void setReadListener (WSListener listener)

Protected Methods

protected void setProtocol (WSAbstractProtocol protocol)