A C D E F G I L M N O R S T W

A

AbstractThreadPooledEventDispatcher - Class in net.gleamynode.netty2
A base class for thread-pooled event dispatchers.
AbstractThreadPooledEventDispatcher() - Constructor for class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher
 
AbstractThreadPooledEventDispatcher.AbstractWorker - Class in net.gleamynode.netty2
 
AbstractThreadPooledEventDispatcher.AbstractWorker(EventQueue) - Constructor for class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher.AbstractWorker
 
addSessionListener(SessionListener) - Method in class net.gleamynode.netty2.Session
Subscribe a SessionListenerto receive incoming events.
addSessionListener(SessionListener) - Method in class net.gleamynode.netty2.SessionServer
Subscribe a SessionListenerto receive incoming events from the new session.

C

close() - Method in class net.gleamynode.netty2.Session
Closes the session.
CLOSE_REQUEST - Static variable in class net.gleamynode.netty2.EventType
 
CONNECTED - Static variable in class net.gleamynode.netty2.EventType
 
CONNECTION_TIMEOUT - Static variable in class net.gleamynode.netty2.EventType
 
connectionClosed(Session) - Method in interface net.gleamynode.netty2.SessionListener
Invoked when the connection is closed.
connectionEstablished(Session) - Method in interface net.gleamynode.netty2.SessionListener
Invoked when the connection is established.

D

debug(Log, Session, Object) - Static method in class net.gleamynode.netty2.SessionLog
 
debug(Log, Session, Object, Throwable) - Static method in class net.gleamynode.netty2.SessionLog
 
debug(Object) - Method in class net.gleamynode.netty2.SessionLog
 
debug(Object, Throwable) - Method in class net.gleamynode.netty2.SessionLog
 
DISCONNECTED - Static variable in class net.gleamynode.netty2.EventType
 

E

error(Log, Session, Object) - Static method in class net.gleamynode.netty2.SessionLog
 
error(Log, Session, Object, Throwable) - Static method in class net.gleamynode.netty2.SessionLog
 
error(Object) - Method in class net.gleamynode.netty2.SessionLog
 
error(Object, Throwable) - Method in class net.gleamynode.netty2.SessionLog
 
Event - Class in net.gleamynode.netty2
Represents an event that is passed among I/O controller, I/O processor, and event dispatchers.
Event(EventType, Session, Object) - Constructor for class net.gleamynode.netty2.Event
Creates a new instance.
EventDispatcher - Interface in net.gleamynode.netty2
Dispatches session events to SessionListener.
EventDispatcherMBean - Interface in net.gleamynode.netty2
JMX (Java Management eXtenstions) support interface for event dispatchers.
EventType - Class in net.gleamynode.netty2
Represents the type of the event.
EXCEPTION - Static variable in class net.gleamynode.netty2.EventType
 
exceptionCaught(Throwable) - Method in class net.gleamynode.netty2.ExceptionLoggingMonitor
 
exceptionCaught(Throwable) - Method in interface net.gleamynode.netty2.ExceptionMonitor
Invoked when a uncaught exception is thrown.
exceptionCaught(Session, Throwable) - Method in interface net.gleamynode.netty2.SessionListener
Invoked when an exception is caught while communicating.
ExceptionLoggingMonitor - Class in net.gleamynode.netty2
An ExceptionMonitor which logs uncaught exceptions.
ExceptionLoggingMonitor() - Constructor for class net.gleamynode.netty2.ExceptionLoggingMonitor
Creates a new instance.
ExceptionMonitor - Interface in net.gleamynode.netty2
Monitors uncaught exceptions.

F

fatal(Log, Session, Object) - Static method in class net.gleamynode.netty2.SessionLog
 
fatal(Log, Session, Object, Throwable) - Static method in class net.gleamynode.netty2.SessionLog
 
fatal(Object) - Method in class net.gleamynode.netty2.SessionLog
 
fatal(Object, Throwable) - Method in class net.gleamynode.netty2.SessionLog
 
fire(Event) - Method in interface net.gleamynode.netty2.EventDispatcher
Fires the specified session event.
fire(Event) - Method in class net.gleamynode.netty2.LowLatencyEventDispatcher
 
fire(Event) - Method in class net.gleamynode.netty2.OrderedEventDispatcher
 
fire(Event) - Method in class net.gleamynode.netty2.SimpleEventDispatcher
 
fireConnectionClosed() - Method in class net.gleamynode.netty2.Session
Fires 'connectionClosed' event to registered SessionListeners.
fireConnectionEstablished() - Method in class net.gleamynode.netty2.Session
Fires 'connectionEstablished' event to registered SessionListeners.
fireExceptionCaught(Throwable) - Method in class net.gleamynode.netty2.Session
Fires 'sessionIdle' event to registered SessionListeners.
fireMessageReceived(Message) - Method in class net.gleamynode.netty2.Session
Fires 'messageReceived' event to registered SessionListeners.
fireMessageSent(Message) - Method in class net.gleamynode.netty2.Session
Fires 'messageSent' event to registered SessionListeners.
fireSessionIdle() - Method in class net.gleamynode.netty2.Session
Fires 'sessionIdle' event to registered SessionListeners.
flush() - Method in class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher
 
flush() - Method in interface net.gleamynode.netty2.EventDispatcher
(Optional operation) Flushes the buffered events.
flush() - Method in class net.gleamynode.netty2.LowLatencyEventDispatcher
 

G

getAttachment() - Method in class net.gleamynode.netty2.Session
Returns the attachment of this session.
getBacklog() - Method in class net.gleamynode.netty2.SessionServer
Returns the backlog value of the server socket.
getBindAddress() - Method in class net.gleamynode.netty2.SessionServer
Returns the socket address this server listens on.
getBuffer() - Method in exception net.gleamynode.netty2.MessageParseException
Returns unknown message part.
getByteOrder() - Method in class net.gleamynode.netty2.SessionConfig
Returns the ByteOrderof ByteBuffers that are passed to Messages.
getChannel() - Method in class net.gleamynode.netty2.Session
Returns the underlying socket channel of this session.
getConfig() - Method in class net.gleamynode.netty2.Session
Returns the current settings of this session.
getConnectTimeout() - Method in class net.gleamynode.netty2.Session
Deprecated. Use SessionConfiginstead.
getConnectTimeout() - Method in class net.gleamynode.netty2.SessionConfig
Returns connect timeout in seconds.
getConnectTimeout() - Method in interface net.gleamynode.netty2.SessionConfigMBean
 
getConnectTimeoutInMillis() - Method in class net.gleamynode.netty2.Session
Deprecated. Use SessionConfiginstead.
getConnectTimeoutInMillis() - Method in class net.gleamynode.netty2.SessionConfig
Returns connect timeout in milliseconds.
getControllerThreadPriority() - Method in class net.gleamynode.netty2.IoProcessor
Returns the priority of controller threads.
getControllerThreadPriority() - Method in interface net.gleamynode.netty2.IoProcessorMBean
 
getDefaultConfig() - Method in class net.gleamynode.netty2.SessionServer
Returns the default configuration of newly created sessions.
getEventDispatcher() - Method in class net.gleamynode.netty2.Session
Returns the EventDispatcherwho dispatches the events of this session.
getEventDispatcher() - Method in class net.gleamynode.netty2.SessionServer
Returns the EventDispatcherthat will be passed to newly created sessions' constructor.
getExceptionMonitor() - Method in class net.gleamynode.netty2.IoProcessor
Returns the ExceptionMonitor.
getExceptionMonitor() - Method in class net.gleamynode.netty2.Session
Returns the ExceptionMonitor.
getExceptionMonitor() - Method in class net.gleamynode.netty2.SessionServer
Returns the ExceptionMonitor.
getIdleTime() - Method in class net.gleamynode.netty2.Session
Deprecated. Use SessionConfiginstead.
getIdleTime() - Method in class net.gleamynode.netty2.SessionConfig
Returns the idle time of this session in seconds.
getIdleTime() - Method in interface net.gleamynode.netty2.SessionConfigMBean
 
getIdleTimeInMillis() - Method in class net.gleamynode.netty2.Session
Deprecated. Use SessionConfiginstead.
getIdleTimeInMillis() - Method in class net.gleamynode.netty2.SessionConfig
Returns the idle time of this session in milliseconds.
getInstance() - Static method in class net.gleamynode.netty2.ExceptionLoggingMonitor
Returns the instance.
getIoProcessor() - Method in class net.gleamynode.netty2.Session
Returns the I/O processor this session reads and writes the message via.
getIoProcessor() - Method in class net.gleamynode.netty2.SessionServer
Returns the IoProcessorthat will be passed to newly created sessions' constructor.
getItem() - Method in class net.gleamynode.netty2.Event
Returns additional object related with this event (Message, Exception, or null if none).
getLastIoTime() - Method in class net.gleamynode.netty2.Session
Returns millis time that I/O occurred last.
getMaxQueuedWriteCount() - Method in class net.gleamynode.netty2.Session
Deprecated. Use SessionConfiginstead.
getMaxQueuedWriteCount() - Method in class net.gleamynode.netty2.SessionConfig
Returns the maximum number of remaining write requests which were queued by Session.write(Message).
getMaxQueuedWriteCount() - Method in interface net.gleamynode.netty2.SessionConfigMBean
 
getMessage() - Method in exception net.gleamynode.netty2.MessageParseException
Returns the message and the hexdump of the unknown part.
getMessageRecognizer() - Method in class net.gleamynode.netty2.Session
Returns the MessageRecognizerwho recognizes the incoming data from this session.
getMessageRecognizer() - Method in class net.gleamynode.netty2.SessionServer
Returns the MessageRecognizerthat will be passed to newly created sessions' constructor.
getQueuedWriteCount() - Method in class net.gleamynode.netty2.Session
Returns the numbers of remaining write requests which were queued by Session.write(Message).
getReadingMessage() - Method in class net.gleamynode.netty2.Session
Returns the Messagethat is being read now.
getReadTries() - Method in class net.gleamynode.netty2.IoProcessor
Deprecated. Netty2 now automatically retries a read operation until it returns 0.
getReadTries() - Method in interface net.gleamynode.netty2.IoProcessorMBean
 
getSession() - Method in class net.gleamynode.netty2.Event
Returns the session which is related with this event.
getSocketAddress() - Method in class net.gleamynode.netty2.Session
Returns the socket address this session is connected to.
getSocketAddressString() - Method in class net.gleamynode.netty2.Session
Returns the string representation of the socket address this session is connected to.
getThreadName() - Method in class net.gleamynode.netty2.SessionServer
Returns the name of the server thread.
getThreadNamePrefix() - Method in class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher
 
getThreadNamePrefix() - Method in class net.gleamynode.netty2.IoProcessor
Returns the prefix of the I/O thread name.
getThreadNamePrefix() - Method in interface net.gleamynode.netty2.IoProcessorMBean
 
getThreadNamePrefix() - Method in interface net.gleamynode.netty2.ThreadPooledEventDispatcher
Returns the prefix of dispatcher thread name.
getThreadNamePrefix() - Method in interface net.gleamynode.netty2.ThreadPooledEventDispatcherMBean
 
getThreadPoolSize() - Method in class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher
 
getThreadPoolSize() - Method in class net.gleamynode.netty2.IoProcessor
Returns the number of worker threads.
getThreadPoolSize() - Method in interface net.gleamynode.netty2.IoProcessorMBean
 
getThreadPoolSize() - Method in interface net.gleamynode.netty2.ThreadPooledEventDispatcher
Returns the number of dispatcher threads.
getThreadPoolSize() - Method in interface net.gleamynode.netty2.ThreadPooledEventDispatcherMBean
 
getThreadPriority() - Method in class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher
 
getThreadPriority() - Method in class net.gleamynode.netty2.IoProcessor
Returns the priority of worker threads.
getThreadPriority() - Method in interface net.gleamynode.netty2.IoProcessorMBean
 
getThreadPriority() - Method in class net.gleamynode.netty2.SessionServer
Returns the priority of the server thread.
getThreadPriority() - Method in interface net.gleamynode.netty2.ThreadPooledEventDispatcher
Returns the priority of dispatcher threads.
getThreadPriority() - Method in interface net.gleamynode.netty2.ThreadPooledEventDispatcherMBean
 
getType() - Method in class net.gleamynode.netty2.Event
Returns the type of the event.
getWaitingEventSize() - Method in interface net.gleamynode.netty2.EventDispatcher
Returns the number of session events that are still not dispatched to SessionListeners.
getWaitingEventSize() - Method in interface net.gleamynode.netty2.EventDispatcherMBean
 
getWaitingEventSize() - Method in class net.gleamynode.netty2.LowLatencyEventDispatcher
Returns 0 because this thread is not multi-threaded.
getWaitingEventSize() - Method in class net.gleamynode.netty2.OrderedEventDispatcher
 
getWaitingEventSize() - Method in class net.gleamynode.netty2.SimpleEventDispatcher
 
getWriteTimeout() - Method in class net.gleamynode.netty2.Session
Deprecated. Use SessionConfiginstead.
getWriteTimeout() - Method in class net.gleamynode.netty2.SessionConfig
Returns write timeout in seconds.
getWriteTimeout() - Method in interface net.gleamynode.netty2.SessionConfigMBean
 
getWriteTimeoutInMillis() - Method in class net.gleamynode.netty2.Session
Deprecated. Use SessionConfiginstead.
getWriteTimeoutInMillis() - Method in class net.gleamynode.netty2.SessionConfig
Returns write timeout in milliseconds.
getWritingMessage() - Method in class net.gleamynode.netty2.Session
Returns the Messagethat is being written now.

I

IDLE - Static variable in class net.gleamynode.netty2.EventType
 
info(Log, Session, Object) - Static method in class net.gleamynode.netty2.SessionLog
 
info(Log, Session, Object, Throwable) - Static method in class net.gleamynode.netty2.SessionLog
 
info(Object) - Method in class net.gleamynode.netty2.SessionLog
 
info(Object, Throwable) - Method in class net.gleamynode.netty2.SessionLog
 
IoProcessor - Class in net.gleamynode.netty2
Performs I/O operations, interprets them into session events, and passes them to EventDispatcher.
IoProcessor() - Constructor for class net.gleamynode.netty2.IoProcessor
Constructs a new instance with default properties.
IoProcessorMBean - Interface in net.gleamynode.netty2
JMX (Java Management eXtenstions) support interface for IoProcessor.
isClosed() - Method in class net.gleamynode.netty2.Session
Returns true if the connection is closed.
isClosing() - Method in class net.gleamynode.netty2.Session
Returns true if once Session.close()is called and close operation is pending.
isConnected() - Method in class net.gleamynode.netty2.Session
Returns true if the connection is open.
isConnectionPending() - Method in class net.gleamynode.netty2.Session
Returns true if the connection attempt is being made.
isDebugEnabled() - Method in class net.gleamynode.netty2.SessionLog
 
isErrorEnabled() - Method in class net.gleamynode.netty2.SessionLog
 
isFatalEnabled() - Method in class net.gleamynode.netty2.SessionLog
 
isIdle() - Method in class net.gleamynode.netty2.Session
Returns true if and only if this session is idle.
isInfoEnabled() - Method in class net.gleamynode.netty2.SessionLog
 
isStarted() - Method in class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher
 
isStarted() - Method in class net.gleamynode.netty2.IoProcessor
Returns true only if this I/O processor is started.
isStarted() - Method in interface net.gleamynode.netty2.IoProcessorMBean
 
isStarted() - Method in class net.gleamynode.netty2.Session
Returns trueisStarted() - Method in class net.gleamynode.netty2.SessionServer
Returns true if this server is started.
isStarted() - Method in interface net.gleamynode.netty2.ThreadPooledEventDispatcher
Returns true if this event dispatcher is started.
isStarted() - Method in interface net.gleamynode.netty2.ThreadPooledEventDispatcherMBean
 
isTraceEnabled() - Method in class net.gleamynode.netty2.SessionLog
 
isWarnEnabled() - Method in class net.gleamynode.netty2.SessionLog
 

L

localEventQueue - Variable in class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher.AbstractWorker
 
logError(String, Throwable) - Static method in class net.gleamynode.netty2.ExceptionLoggingMonitor
 
LowLatencyEventDispatcher - Class in net.gleamynode.netty2
An EventDispatcherthat provides low latency.
LowLatencyEventDispatcher() - Constructor for class net.gleamynode.netty2.LowLatencyEventDispatcher
Creates a new low latency event dispatcher.
LowLatencyEventDispatcherMBean - Interface in net.gleamynode.netty2
JMX (Java Management eXtenstions) support interface for LowLatencyEventDispatcher.

M

Message - Interface in net.gleamynode.netty2
An interface that represents a message read from/written into channels.
MessageParseException - Exception in net.gleamynode.netty2
An exception that is thrown when MessageRecognizeror Message cannot understand or validate incoming data.
MessageParseException() - Constructor for exception net.gleamynode.netty2.MessageParseException
Constructs a new instance.
MessageParseException(String) - Constructor for exception net.gleamynode.netty2.MessageParseException
Constructs a new instance with the specified message.
MessageParseException(Throwable) - Constructor for exception net.gleamynode.netty2.MessageParseException
Constructs a new instance with the specified cause.
MessageParseException(String, Throwable) - Constructor for exception net.gleamynode.netty2.MessageParseException
Constructs a new instance with the specified message and the specified cause.
messageReceived(Session, Message) - Method in interface net.gleamynode.netty2.SessionListener
Invoked when a message has arrived.
MessageRecognizer - Interface in net.gleamynode.netty2
Converts ByteBufferinto Message.
messageSent(Session, Message) - Method in interface net.gleamynode.netty2.SessionListener
Invoked when a message has been sent.

N

net.gleamynode.netty2 - package net.gleamynode.netty2
Netty2 main package.
newWorker() - Method in class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher
 
newWorker() - Method in class net.gleamynode.netty2.OrderedEventDispatcher
 
newWorker() - Method in class net.gleamynode.netty2.SimpleEventDispatcher
 

O

onDisconnection(Session) - Method in class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher.AbstractWorker
 
onEnd() - Method in class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher.AbstractWorker
 
OrderedEventDispatcher - Class in net.gleamynode.netty2
A thread-pooled EventDispatcherthat the events for the same session occurs in the same order it was generated actually.
OrderedEventDispatcher() - Constructor for class net.gleamynode.netty2.OrderedEventDispatcher
Creates a new instance.
OrderedEventDispatcherMBean - Interface in net.gleamynode.netty2
JMX (Java Management eXtenstions) support interface for OrderedEventDispatcher.

R

read(ByteBuffer) - Method in interface net.gleamynode.netty2.Message
Reads the message from the specified buffer.
READY_TO_READ - Static variable in class net.gleamynode.netty2.EventType
 
READY_TO_WRITE - Static variable in class net.gleamynode.netty2.EventType
 
RECEIVED - Static variable in class net.gleamynode.netty2.EventType
 
recognize(ByteBuffer) - Method in interface net.gleamynode.netty2.MessageRecognizer
Converts ByteBufferinto Message.
removeSessionListener(SessionListener) - Method in class net.gleamynode.netty2.Session
Unsubscribe a SessionListenerto stop receiving incoming events.
removeSessionListener(SessionListener) - Method in class net.gleamynode.netty2.SessionServer
Unsubscribe a SessionListenerto stop receiving incoming events from the new session.
removeWorker() - Method in class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher
 
removeWorker() - Method in class net.gleamynode.netty2.OrderedEventDispatcher
 
removeWorker() - Method in class net.gleamynode.netty2.SimpleEventDispatcher
 
run() - Method in class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher.AbstractWorker
 

S

SENT - Static variable in class net.gleamynode.netty2.EventType
 
Session - Class in net.gleamynode.netty2
Represents a TCP/IP socket connection and provides methods to read/write events from/to IoProcessorvia EventDispatcher.
Session() - Constructor for class net.gleamynode.netty2.Session
Constructs a non-initialized session.
Session(IoProcessor, SocketChannel, MessageRecognizer, EventDispatcher) - Constructor for class net.gleamynode.netty2.Session
Constructs a new session with the specified channel and with the default settings.
Session(IoProcessor, SocketAddress, MessageRecognizer, EventDispatcher) - Constructor for class net.gleamynode.netty2.Session
Constructs a new session that connects to the specified socket address with the default settings.
Session(IoProcessor, SocketChannel, MessageRecognizer, EventDispatcher, SessionConfig) - Constructor for class net.gleamynode.netty2.Session
Constructs a new session with the specified channel and with the specified settings.
Session(IoProcessor, SocketAddress, MessageRecognizer, EventDispatcher, SessionConfig) - Constructor for class net.gleamynode.netty2.Session
Constructs a new session that connects to the specified socket address with the specified settings.
SessionConfig - Class in net.gleamynode.netty2
Contains properties for Sessions.
SessionConfig() - Constructor for class net.gleamynode.netty2.SessionConfig
Creates a new instance with default settings.
SessionConfigMBean - Interface in net.gleamynode.netty2
JMX (Java Management eXtenstions) support interface for SessionConfig.
sessionIdle(Session) - Method in interface net.gleamynode.netty2.SessionListener
Invoked when the session is idle for predefined amount of time.
SessionListener - Interface in net.gleamynode.netty2
An event listener that handles session events dispatched from EventDispatcher.
SessionLog - Class in net.gleamynode.netty2
Apache Jakarta Commons Logging helper.
SessionLog(Session, Log) - Constructor for class net.gleamynode.netty2.SessionLog
 
SessionServer - Class in net.gleamynode.netty2
Listens to the TCP/IP port, accepts the incoming connections, and starts the corresponding Sessions.
SessionServer() - Constructor for class net.gleamynode.netty2.SessionServer
Creates a new instance.
setAttachment(Object) - Method in class net.gleamynode.netty2.Session
Sets the attachment of this session.
setBacklog(int) - Method in class net.gleamynode.netty2.SessionServer
Sets the backlog value of the server socket.
setBindAddress(SocketAddress) - Method in class net.gleamynode.netty2.SessionServer
Sets the socket address this server listens on.
setByteOrder(ByteOrder) - Method in class net.gleamynode.netty2.SessionConfig
Sets the ByteOrderof ByteBuffers that are passed to Messages.
setChannel(SocketChannel) - Method in class net.gleamynode.netty2.Session
Sets the underlying socket channel of this session.
setConfig(SessionConfig) - Method in class net.gleamynode.netty2.Session
Sets the current settings of this session.
setConnectTimeout(int) - Method in class net.gleamynode.netty2.Session
Deprecated. Use SessionConfiginstead.
setConnectTimeout(int) - Method in class net.gleamynode.netty2.SessionConfig
Sets connect timeout in seconds.
setConnectTimeout(int) - Method in interface net.gleamynode.netty2.SessionConfigMBean
 
setControllerThreadPriority(int) - Method in class net.gleamynode.netty2.IoProcessor
Sets the priority of controller threads.
setControllerThreadPriority(int) - Method in interface net.gleamynode.netty2.IoProcessorMBean
 
setDefaultConfig(SessionConfig) - Method in class net.gleamynode.netty2.SessionServer
Sets the default configuration of newly created sessions.
setEventDispatcher(EventDispatcher) - Method in class net.gleamynode.netty2.Session
Sets the EventDispatcherwho dispatches the events of this session.
setEventDispatcher(EventDispatcher) - Method in class net.gleamynode.netty2.SessionServer
Sets the EventDispatcherthat will be passed to newly created sessions' constructor.
setExceptionMonitor(ExceptionMonitor) - Method in class net.gleamynode.netty2.IoProcessor
Sets the ExceptionMonitor.
setExceptionMonitor(ExceptionMonitor) - Method in class net.gleamynode.netty2.Session
Sets the ExceptionMonitor.
setExceptionMonitor(ExceptionMonitor) - Method in class net.gleamynode.netty2.SessionServer
Sets the ExceptionMonitor.
setIdleTime(int) - Method in class net.gleamynode.netty2.Session
Deprecated. Use SessionConfiginstead.
setIdleTime(int) - Method in class net.gleamynode.netty2.SessionConfig
Sets the idle time of this session in seconds.
setIdleTime(int) - Method in interface net.gleamynode.netty2.SessionConfigMBean
 
setIoProcessor(IoProcessor) - Method in class net.gleamynode.netty2.Session
Sets the I/O processor this session reads and writes the message via.
setIoProcessor(IoProcessor) - Method in class net.gleamynode.netty2.SessionServer
Sets the IoProcessorthat will be passed to newly created sessions' constructor.
setMaxQueuedWriteCount(int) - Method in class net.gleamynode.netty2.Session
Deprecated. Use SessionConfiginstead.
setMaxQueuedWriteCount(int) - Method in class net.gleamynode.netty2.SessionConfig
Sets the maximum number of remaining write requests which were queued by Session.write(Message).
setMaxQueuedWriteCount(int) - Method in interface net.gleamynode.netty2.SessionConfigMBean
 
setMessageRecognizer(MessageRecognizer) - Method in class net.gleamynode.netty2.Session
Sets the MessageRecognizerwho recognizes the incoming data from this session.
setMessageRecognizer(MessageRecognizer) - Method in class net.gleamynode.netty2.SessionServer
Sets the MessageRecognizerthat will be passed to newly created sessions' constructor.
setReadTries(int) - Method in class net.gleamynode.netty2.IoProcessor
Deprecated. Netty2 now automatically retries a read operation until it returns 0.
setReadTries(int) - Method in interface net.gleamynode.netty2.IoProcessorMBean
 
setSocketAddress(SocketAddress) - Method in class net.gleamynode.netty2.Session
Sets the socket address this session will connect to.
setThreadName(String) - Method in class net.gleamynode.netty2.SessionServer
Sets the name of the server thread.
setThreadNamePrefix(String) - Method in class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher
 
setThreadNamePrefix(String) - Method in class net.gleamynode.netty2.IoProcessor
Sets the prefix of the I/O thread name.
setThreadNamePrefix(String) - Method in interface net.gleamynode.netty2.IoProcessorMBean
 
setThreadNamePrefix(String) - Method in interface net.gleamynode.netty2.ThreadPooledEventDispatcher
Sets the prefix of dispatcher thread name.
setThreadNamePrefix(String) - Method in interface net.gleamynode.netty2.ThreadPooledEventDispatcherMBean
 
setThreadPoolSize(int) - Method in class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher
 
setThreadPoolSize(int) - Method in class net.gleamynode.netty2.IoProcessor
Sets the number of worker threads.
setThreadPoolSize(int) - Method in interface net.gleamynode.netty2.IoProcessorMBean
 
setThreadPoolSize(int) - Method in interface net.gleamynode.netty2.ThreadPooledEventDispatcher
Sets the number of dispatcher threads.
setThreadPoolSize(int) - Method in interface net.gleamynode.netty2.ThreadPooledEventDispatcherMBean
 
setThreadPriority(int) - Method in class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher
 
setThreadPriority(int) - Method in class net.gleamynode.netty2.IoProcessor
Sets the priority of worker threads.
setThreadPriority(int) - Method in interface net.gleamynode.netty2.IoProcessorMBean
 
setThreadPriority(int) - Method in class net.gleamynode.netty2.SessionServer
Sets the priority of the server thread.
setThreadPriority(int) - Method in interface net.gleamynode.netty2.ThreadPooledEventDispatcher
Sets the priority of dispatcher threads.
setThreadPriority(int) - Method in interface net.gleamynode.netty2.ThreadPooledEventDispatcherMBean
 
setWriteTimeout(int) - Method in class net.gleamynode.netty2.Session
Deprecated. Use SessionConfiginstead.
setWriteTimeout(int) - Method in class net.gleamynode.netty2.SessionConfig
Sets write timeout in seconds.
setWriteTimeout(int) - Method in interface net.gleamynode.netty2.SessionConfigMBean
 
SimpleEventDispatcher - Class in net.gleamynode.netty2
A thread-pooled EventDispatcherthat the events for the same session does NOT occur in the same order it was generated actually.
SimpleEventDispatcher() - Constructor for class net.gleamynode.netty2.SimpleEventDispatcher
Creates a new instance.
SimpleEventDispatcherMBean - Interface in net.gleamynode.netty2
JMX (Java Management eXtenstions) support interface for SimpleEventDispatcher.
start() - Method in class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher
 
start() - Method in class net.gleamynode.netty2.IoProcessor
Starts all controllers and worker threads.
start() - Method in interface net.gleamynode.netty2.IoProcessorMBean
 
start() - Method in class net.gleamynode.netty2.Session
Starts communication.
start() - Method in class net.gleamynode.netty2.SessionServer
Starts accepting the incoming connections.
start() - Method in interface net.gleamynode.netty2.ThreadPooledEventDispatcher
Starts this event dispatcher.
start() - Method in interface net.gleamynode.netty2.ThreadPooledEventDispatcherMBean
 
stop() - Method in class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher
 
stop() - Method in class net.gleamynode.netty2.IoProcessor
Stops all controllers and worker threads.
stop() - Method in interface net.gleamynode.netty2.IoProcessorMBean
 
stop() - Method in class net.gleamynode.netty2.SessionServer
Stops accepting the incoming connections.
stop() - Method in interface net.gleamynode.netty2.ThreadPooledEventDispatcher
Stops this event dispatcher.
stop() - Method in interface net.gleamynode.netty2.ThreadPooledEventDispatcherMBean
 

T

ThreadPooledEventDispatcher - Interface in net.gleamynode.netty2
An interface for thread-pooled event dispatchers.
ThreadPooledEventDispatcherMBean - Interface in net.gleamynode.netty2
JMX (Java Management eXtenstions) support interface for thread-pooled event dispatchers.
toString() - Method in class net.gleamynode.netty2.EventType
 
trace(Log, Session, Object) - Static method in class net.gleamynode.netty2.SessionLog
 
trace(Log, Session, Object, Throwable) - Static method in class net.gleamynode.netty2.SessionLog
 
trace(Object) - Method in class net.gleamynode.netty2.SessionLog
 
trace(Object, Throwable) - Method in class net.gleamynode.netty2.SessionLog
 

W

warn(Log, Session, Object) - Static method in class net.gleamynode.netty2.SessionLog
 
warn(Log, Session, Object, Throwable) - Static method in class net.gleamynode.netty2.SessionLog
 
warn(Object) - Method in class net.gleamynode.netty2.SessionLog
 
warn(Object, Throwable) - Method in class net.gleamynode.netty2.SessionLog
 
workers - Variable in class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher
 
write(ByteBuffer) - Method in interface net.gleamynode.netty2.Message
Writes this message into the specified buffer.
write(Message) - Method in class net.gleamynode.netty2.Session
Writes the specified message to the socket channel.
write(Message, long) - Method in class net.gleamynode.netty2.Session
Writes the specified message to the socket channel.

A C D E F G I L M N O R S T W

Copyright © 2004-2010 Trustin Lee. All Rights Reserved.