Modifier and Type | Method and Description |
---|---|
org.jboss.netty.channel.Channel |
NettyTCPClient.connect(org.jboss.netty.channel.ChannelPipelineFactory pipelineFactory,
Event loginEvent)
This method delegates to the
NettyTCPClient.connect(ChannelPipelineFactory, Event, int, TimeUnit)
method internally. |
org.jboss.netty.channel.Channel |
NettyTCPClient.connect(org.jboss.netty.channel.ChannelPipelineFactory pipelineFactory,
Event loginEvent,
int timeout,
TimeUnit unit)
Method that is used to create the connection or
Channel to
communicated with the remote jetserver. |
Modifier and Type | Method and Description |
---|---|
void |
Session.onEvent(Event event) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSession.onEvent(Event event) |
Modifier and Type | Method and Description |
---|---|
void |
NettyTCPMessageSender.close(Event closeEvent)
Writes an event mostly the
Events .CLOSE to the client, flushes
all the pending writes and closes the channel. |
void |
NettyTCPMessageSender.closeAfterFlushingPendingWrites(org.jboss.netty.channel.Channel channel,
Event event)
This method will write an event to the channel and then add a close
listener which will close it after the write has completed.
|
Modifier and Type | Interface and Description |
---|---|
interface |
NetworkEvent
This interface is specifically used for events that will get transmitted to
remote machine/vm.
|
Modifier and Type | Method and Description |
---|---|
static Event |
Events.changeAttributeEvent(String key,
Object value) |
static Event |
Events.event(Object source,
int eventType) |
Modifier and Type | Method and Description |
---|---|
void |
EventDispatcher.fireEvent(Event event)
Fires event in asynchronous mode
|
void |
EventHandler.onEvent(Event event)
On event method which will be used to handle an incoming event dispatched
to it by a
EventDispatcher |
Modifier and Type | Class and Description |
---|---|
class |
ChangeAttributeEvent |
class |
DefaultEvent
Instances of this class are used to hold events that come in from remote
jetserver, for communicating between sessions and also for transmitting
messages to the remote jetserver from client.
|
class |
DefaultNetworkEvent
Default implementation of
NetworkEvent interface. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSessionEventHandler.doEventHandlerMethodLookup(Event event) |
void |
DefaultEventDispatcher.fireEvent(Event event) |
void |
AbstractSessionEventHandler.onChangeAttribute(Event event) |
void |
AbstractSessionEventHandler.onClose(Event event) |
void |
AbstractSessionEventHandler.onConnectFailed(Event event) |
void |
AbstractSessionEventHandler.onCustomEvent(Event event) |
abstract void |
AbstractSessionEventHandler.onDataIn(Event event) |
void |
AbstractSessionEventHandler.onDisconnect(Event event) |
void |
AbstractSessionEventHandler.onEvent(Event event) |
void |
AbstractSessionEventHandler.onException(Event event) |
void |
AbstractSessionEventHandler.onLoginFailure(Event event) |
void |
AbstractSessionEventHandler.onLoginSuccess(Event event) |
void |
AbstractSessionEventHandler.onStart(Event event) |
void |
AbstractSessionEventHandler.onStop(Event event) |
Constructor and Description |
---|
DefaultNetworkEvent(Event event)
Copy constructor which will take values from the event and set it on this
instance.
|
DefaultNetworkEvent(Event event,
DeliveryGuaranty deliveryGuaranty)
Copy constructor which will take values from the event and set it on this
instance.
|
Copyright © 2012. All Rights Reserved.