TrAP Parent
Package Index
|
Class Index
com.ericsson.research.transport
com.ericsson.research.transport.ssl
com.ericsson.research.transport.ws
com.ericsson.research.transport.ws.spi
com.ericsson.research.transport.ws.spi.util
com.ericsson.research.trap
com.ericsson.research.trap.auth
com.ericsson.research.trap.delegates
com.ericsson.research.trap.examples
com.ericsson.research.trap.impl
com.ericsson.research.trap.impl.buffers
com.ericsson.research.trap.impl.http
com.ericsson.research.trap.impl.queues
com.ericsson.research.trap.nio
com.ericsson.research.trap.nio.impl.nio1
com.ericsson.research.trap.nio.impl.nio2
com.ericsson.research.trap.spi
com.ericsson.research.trap.spi.queues
com.ericsson.research.trap.spi.tomcat
com.ericsson.research.trap.spi.transports
com.ericsson.research.trap.spi.ws.netty
com.ericsson.research.trap.tests
com.ericsson.research.trap.utils
com.ericsson.research.trap.utils.impl
Interfaces
WSConstants
Classes
WSAbstractFrame
WSAbstractHandshake
WSAbstractProtocol
WSAbstractProtocolWrapper
WSFactoryImpl
WSHixie75
WSHixie75Handshake
WSHixie76
WSHixie76Handshake
WSHixieFrame
WSHybi10
WSHybi10Handshake
WSHybiFrame
WSNioEndpoint
WSPrefetcher
WSPrefetcherHandshake
WSRfc6455
WSRfc6455Handshake
WSSecureSocketFactory
WSServerImpl
WSSocketEndpoint
Package Index
|
Class Index
Summary:
Fields
|
Ctors
|
Methods
|
Protected Methods
|
Inherited Methods
|
[Expand All]
public abstract class
WSAbstractProtocolWrapper
extends
Object
implements
WSInterface
WSListener
java.lang.Object
↳
com.ericsson.research.transport.ws.spi.WSAbstractProtocolWrapper
Known Direct Subclasses
WSAbstractProtocol
,
WSNioEndpoint
,
WSSocketEndpoint
WSAbstractProtocol
WSNioEndpoint
WSSocketEndpoint
Known Indirect Subclasses
WSHixie75
,
WSHixie76
,
WSHybi10
,
WSPrefetcher
,
WSRfc6455
WSHixie75
WSHixie76
WSHybi10
WSPrefetcher
WSRfc6455
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
Object
clone
()
boolean
equals
(
Object
arg0)
void
finalize
()
final
Class
<?>
getClass
()
int
hashCode
()
final void
notify
()
final void
notifyAll
()
String
toString
()
final void
wait
(long arg0, int arg1)
final void
wait
(long arg0)
final void
wait
()
From interface
com.ericsson.research.transport.ws.WSInterface
abstract void
close
()
abstract
InetSocketAddress
getLocalSocketAddress
()
abstract
InetSocketAddress
getRemoteSocketAddress
()
abstract void
open
()
abstract void
ping
(byte[] payload)
abstract void
send
(byte[] binaryData)
abstract void
send
(
String
utf8String)
abstract void
setReadListener
(
WSListener
listener)
From interface
com.ericsson.research.transport.ws.WSListener
abstract void
notifyClose
()
abstract void
notifyError
(
Throwable
t)
abstract void
notifyMessage
(
String
utf8String)
abstract void
notifyMessage
(byte[] data)
abstract void
notifyOpen
(
WSInterface
socket)
abstract void
notifyPong
(byte[] payload)
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)