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
ManagedServerSocketClient
ManagedSocketClient
NioEndpoint
Classes
ManagedServerSocket
ManagedSocket
NioManager
NioWaitingSocket
Enums
ManagedServerSocket.State
ManagedSocket.State
Package Index
|
Class Index
Summary:
Methods
|
[Expand All]
public interface
NioEndpoint
com.ericsson.research.transport.NioEndpoint
Known Indirect Subclasses
ManagedServerSocket
,
ManagedSocket
,
SSLServerSocket
,
SSLSocket
ManagedServerSocket
ManagedSocket
SSLServerSocket
SSLSocket
Summary
Public Methods
abstract boolean
canAccept
()
abstract
NioEndpoint
createAcceptChild
()
Create a child that can be used for accepting.
abstract
SelectionKey
getKey
()
abstract void
notifyAccepted
(
NioEndpoint
endpoint)
abstract void
notifyClosed
()
abstract void
notifyConnected
()
abstract void
notifyError
(
Exception
e)
abstract void
receive
(byte[] data, int size)
abstract void
setNioManager
(
NioManager
nioManager,
SelectionKey
key)
Public Methods
public abstract boolean
canAccept
()
public abstract
NioEndpoint
createAcceptChild
()
Create a child that can be used for accepting.
Returns
A newly created NioEndpoint object capable of processing replies from this NioManager
Throws
UnsupportedOperationException
if this NioEndpoint canAccept() returns false
public abstract
SelectionKey
getKey
()
public abstract void
notifyAccepted
(
NioEndpoint
endpoint)
public abstract void
notifyClosed
()
public abstract void
notifyConnected
()
public abstract void
notifyError
(
Exception
e)
public abstract void
receive
(byte[] data, int size)
public abstract void
setNioManager
(
NioManager
nioManager,
SelectionKey
key)