- CHANGE_ATTRIBUTE - Static variable in class org.menacheri.jetclient.event.Events
-
- changeAttributeEvent(String, Object) - Static method in class org.menacheri.jetclient.event.Events
-
- ChangeAttributeEvent - Class in org.menacheri.jetclient.event.impl
-
- ChangeAttributeEvent() - Constructor for class org.menacheri.jetclient.event.impl.ChangeAttributeEvent
-
- channel - Variable in class org.menacheri.jetclient.communication.NettyTCPMessageSender
-
- channel - Variable in class org.menacheri.jetclient.communication.NettyUDPMessageSender
-
- channelClosed(ChannelHandlerContext, ChannelStateEvent) - Method in class org.menacheri.jetclient.handlers.netty.DefaultToClientHandler
-
- channelClosed(ChannelHandlerContext, ChannelStateEvent) - Method in class org.menacheri.jetclient.handlers.netty.UDPUpstreamHandler
-
- channelConnected(ChannelHandlerContext, ChannelStateEvent) - Method in class org.menacheri.jetclient.handlers.netty.DefaultToClientHandler
-
- channelDisconnected(ChannelHandlerContext, ChannelStateEvent) - Method in class org.menacheri.jetclient.handlers.netty.DefaultToClientHandler
-
- channelDisconnected(ChannelHandlerContext, ChannelStateEvent) - Method in class org.menacheri.jetclient.handlers.netty.UDPUpstreamHandler
-
- channelFactory - Variable in class org.menacheri.jetclient.NettyTCPClient
-
The instance of NioClientSocketChannelFactory
created by
constructor, or the one passed in to constructor.
- channelFactory - Variable in class org.menacheri.jetclient.NettyUDPClient
-
The instance of NioDatagramChannelFactory
created by constructor,
or the one passed in to constructor.
- clear() - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Clears the contents of this buffer.
- clear() - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- clear() - Method in interface org.menacheri.jetclient.event.EventDispatcher
-
Clears all handles associated with this dispatcher and returns the number
of handlers cleared.
- clear() - Method in class org.menacheri.jetclient.event.impl.DefaultEventDispatcher
-
- clearPipeline(ChannelPipeline) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
A utility method to clear the netty pipeline of all handlers.
- CLIENTS - Static variable in class org.menacheri.jetclient.NettyUDPClient
-
This map is used to store the local address to which a session has bound
itself using the Channel.bind(java.net.SocketAddress)
method.
- close() - Method in class org.menacheri.jetclient.app.impl.DefaultSession
-
- close() - Method in interface org.menacheri.jetclient.app.Session
-
- close() - Method in interface org.menacheri.jetclient.communication.MessageSender
-
Cleanup hook which can be called when a session is disconnected or
closed.
- close() - Method in class org.menacheri.jetclient.communication.NettyTCPMessageSender
-
- close(Event) - Method in class org.menacheri.jetclient.communication.NettyTCPMessageSender
-
Writes an event mostly the
Events
.CLOSE to the client, flushes
all the pending writes and closes the channel.
- close() - Method in class org.menacheri.jetclient.communication.NettyUDPMessageSender
-
- close() - Method in interface org.menacheri.jetclient.event.EventDispatcher
-
Called by the session during disconnect, the dispatcher will no longer
accept any events, it will also detach the existing listeners.
- close() - Method in class org.menacheri.jetclient.event.impl.DefaultEventDispatcher
-
- closeAfterFlushingPendingWrites(Channel, Event) - Method in class org.menacheri.jetclient.communication.NettyTCPMessageSender
-
This method will write an event to the channel and then add a close
listener which will close it after the write has completed.
- CONNECT - Static variable in class org.menacheri.jetclient.event.Events
-
- connect(ChannelPipelineFactory, Event) - Method in class org.menacheri.jetclient.NettyTCPClient
-
- connect(ChannelPipelineFactory, Event, int, TimeUnit) - Method in class org.menacheri.jetclient.NettyTCPClient
-
Method that is used to create the connection or Channel
to
communicated with the remote jetserver.
- connect(Session, DatagramChannel) - Method in class org.menacheri.jetclient.NettyUDPClient
-
This method will connect the datagram channel with the server and send
the
Events.CONNECT
message to server.
- connect(Session, DatagramChannel, InetSocketAddress, int, TimeUnit) - Method in class org.menacheri.jetclient.NettyUDPClient
-
This method will connect the datagram channel with the server and send
the
Events.CONNECT
message to server.
- CONNECT_FAILED - Static variable in class org.menacheri.jetclient.event.Events
-
- connectionKey - Variable in class org.menacheri.jetclient.util.LoginHelper
-
- connectionKey - Variable in class org.menacheri.jetclient.util.LoginHelper.LoginBuilder
-
- connectionKey(String) - Method in class org.menacheri.jetclient.util.LoginHelper.LoginBuilder
-
- connectSession(Session) - Method in class org.menacheri.jetclient.app.impl.SessionFactory
-
Connects the session to remote jetserver.
- convert(T) - Method in interface org.menacheri.convert.Transform
-
Convert Object of type T to type V.
- createAndConnectSession() - Method in class org.menacheri.jetclient.app.impl.SessionFactory
-
Creates a
Session
and connects it to the remote jetserver.
- createBufferForOpcode(int) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
- createDatagramChannel() - Method in class org.menacheri.jetclient.NettyUDPClient
-
- createDatagramChannel(String) - Method in class org.menacheri.jetclient.NettyUDPClient
-
- createPlayerSession(Player) - Method in class org.menacheri.jetclient.app.impl.SessionFactory
-
- createSession() - Method in class org.menacheri.jetclient.app.impl.SessionFactory
-
- creationTime - Variable in class org.menacheri.jetclient.app.impl.DefaultSession
-
- creationTime - Variable in class org.menacheri.jetclient.app.impl.DefaultSession.SessionBuilder
-
- creationTime(long) - Method in class org.menacheri.jetclient.app.impl.DefaultSession.SessionBuilder
-
- readableBytes() - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Gets the number of readable bytes left in the buffer.
- readableBytes() - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- readByte() - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Read a single signed byte from the current readerIndex
position
of the buffer.
- readByte() - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- readBytes(int) - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
- readBytes(byte[]) - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Transfers this buffer's data to the specified destination starting at the
current readerIndex
and increases the readerIndex
by the
number of the transferred bytes (= dst.length
).
- readBytes(byte[], int, int) - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Transfers this buffer's data to the specified destination starting at the
current readerIndex
and increases the readerIndex
by the
number of the transferred bytes (= length
).
- readBytes(int) - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- readBytes(byte[]) - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- readBytes(byte[], int, int) - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- readChar() - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Gets a 2-byte UTF-16 character at the current readerIndex
and
increases the readerIndex
by 2
in this buffer.
- readChar() - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- readDouble() - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Gets a 64-bit floating point number at the current readerIndex
and increases the readerIndex
by 8
in this buffer.
- readDouble() - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- readFloat() - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Gets a 32-bit floating point number at the current readerIndex
and increases the readerIndex
by 4
in this buffer.
- readFloat() - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- readInt() - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Gets a 32-bit integer at the current readerIndex
and increases
the readerIndex
by 4
in this buffer.
- readInt() - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- readLong() - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Gets a 64-bit integer at the current readerIndex
and increases
the readerIndex
by 8
in this buffer.
- readLong() - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- readMedium() - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Gets a 24-bit medium integer at the current readerIndex
and
increases the readerIndex
by 3
in this buffer.
- readMedium() - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- readObject(Transform<T, V>) - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Reads an object from the underlying buffer and transform the bytes using
the supplied transformer to any desired object.
- readObject() - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
Used to read an object from the buffer.
- readObject(Transform<ChannelBuffer, V>) - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- readObject(ChannelBuffer) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
This method will first read an unsigned short to find the length of the
object and then read the actual object based on the length.
- readObject(ChannelBuffer, int) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
Read an object from a channel buffer with the specified length.
- readObject(ChannelBuffer, Transform<ChannelBuffer, V>) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
- readObjects(int) - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
Used to read a specified number of objects from the buffer.
- readObjects(ChannelBuffer, int) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
This method will read multiple objects of the buffer and return them as
an object array.
- readShort() - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Gets a 16-bit short integer at the current readerIndex
and
increases the readerIndex
by 2
in this buffer.
- readShort() - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- readSocketAddress(ChannelBuffer) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
Read a socket address from a buffer.
- readString() - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
- readString() - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- readString(ChannelBuffer) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
This method will first read an unsigned short to find the length of the
string and then read the actual string based on the length.
- readString(ChannelBuffer, Charset) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
This method will first read an unsigned short to find the length of the
string and then read the actual string based on the length.
- readString(ChannelBuffer, int) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
Read a string from a channel buffer with the specified length.
- readString(ChannelBuffer, int, Charset) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
Read a string from a channel buffer with the specified length.
- readStrings(int) - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
- readStrings(int) - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- readStrings(ChannelBuffer, int) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
This method will read multiple strings of the buffer and return them as a
string array.
- readStrings(ChannelBuffer, int, Charset) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
This method will read multiple strings of the buffer and return them as a
string array.
- readUnsignedByte() - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Gets an unsigned byte at the current readerIndex
and increases
the readerIndex
by 1
in this buffer.
- readUnsignedByte() - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- readUnsignedInt() - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Gets an unsigned 32-bit integer at the current readerIndex
and
increases the readerIndex
by 4
in this buffer.
- readUnsignedInt() - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- readUnsignedMedium() - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Gets an unsigned 24-bit medium integer at the current readerIndex
and increases the readerIndex
by 3
in this buffer.
- readUnsignedMedium() - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- readUnsignedShort() - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Gets an unsigned 16-bit short integer at the current readerIndex
and increases the readerIndex
by 2
in this buffer.
- readUnsignedShort() - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- remoteAddress - Variable in class org.menacheri.jetclient.communication.NettyUDPMessageSender
-
- removeAttribute(String) - Method in class org.menacheri.jetclient.app.impl.DefaultSession
-
- removeAttribute(String) - Method in interface org.menacheri.jetclient.app.Session
-
- removeHandler(EventHandler) - Method in class org.menacheri.jetclient.app.impl.DefaultSession
-
- removeHandler(EventHandler) - Method in interface org.menacheri.jetclient.app.Session
-
- removeHandler(EventHandler) - Method in interface org.menacheri.jetclient.event.EventDispatcher
-
Removes an event handler from the dispatcher
- removeHandler(EventHandler) - Method in class org.menacheri.jetclient.event.impl.DefaultEventDispatcher
-
- removeHandlersForEvent(int) - Method in interface org.menacheri.jetclient.event.EventDispatcher
-
Removes all event listeners associated with the event type.
- removeHandlersForEvent(int) - Method in class org.menacheri.jetclient.event.impl.DefaultEventDispatcher
-
- removeHandlersForSession(Session) - Method in interface org.menacheri.jetclient.event.EventDispatcher
-
Removes all the handlers for a session.
- removeHandlersForSession(Session) - Method in class org.menacheri.jetclient.event.impl.DefaultEventDispatcher
-
- removeSession(PlayerSession) - Method in class org.menacheri.jetclient.app.impl.DefaultPlayer
-
- removeSession(PlayerSession) - Method in interface org.menacheri.jetclient.app.Player
-
Remove the players session to a game.
- ROOM_LIST - Static variable in class org.menacheri.jetclient.event.Events
-
- sendMessage(Object) - Method in interface org.menacheri.jetclient.communication.MessageSender
-
This method delegates to the underlying native session object to send a
message to the client.
- sendMessage(Object) - Method in class org.menacheri.jetclient.communication.NettyTCPMessageSender
-
- sendMessage(Object) - Method in class org.menacheri.jetclient.communication.NettyUDPMessageSender
-
- serialVersionUID - Static variable in class org.menacheri.jetclient.event.impl.ChangeAttributeEvent
-
- serialVersionUID - Static variable in class org.menacheri.jetclient.event.impl.DefaultEvent
-
- serialVersionUID - Static variable in class org.menacheri.jetclient.event.impl.DefaultNetworkEvent
-
- serverAddress - Variable in class org.menacheri.jetclient.NettyTCPClient
-
The remote server address to which this client should connect.
- serverAddress - Variable in class org.menacheri.jetclient.NettyUDPClient
-
The remote server address to which this client should connect.
- Session - Interface in org.menacheri.jetclient.app
-
This interface abstracts a session in jetclient.
- session - Variable in class org.menacheri.jetclient.event.impl.AbstractSessionEventHandler
-
- session - Variable in class org.menacheri.jetclient.handlers.netty.DefaultToClientHandler
-
- SESSION_MESSAGE - Static variable in class org.menacheri.jetclient.event.Events
-
Incoming data from another machine/JVM to this JVM (server or client)
- sessionAttributes - Variable in class org.menacheri.jetclient.app.impl.DefaultSession
-
session parameters
- sessionAttributes - Variable in class org.menacheri.jetclient.app.impl.DefaultSession.SessionBuilder
-
- sessionAttributes(Map<String, Object>) - Method in class org.menacheri.jetclient.app.impl.DefaultSession.SessionBuilder
-
- SessionEventHandler - Interface in org.menacheri.jetclient.event
-
In addition to handling events this handler will also have a reference to the
session.
- SessionFactory - Class in org.menacheri.jetclient.app.impl
-
Class used to create a session in jetclient.
- SessionFactory(LoginHelper) - Constructor for class org.menacheri.jetclient.app.impl.SessionFactory
-
- sessionId - Static variable in class org.menacheri.jetclient.app.impl.SessionFactory
-
- setAttribute(String, Object) - Method in class org.menacheri.jetclient.app.impl.DefaultSession
-
- setAttribute(String, Object) - Method in interface org.menacheri.jetclient.app.Session
-
- setDeliveryGuaranty(DeliveryGuaranty) - Method in class org.menacheri.jetclient.event.impl.DefaultNetworkEvent
-
- setDeliveryGuaranty(DeliveryGuaranty) - Method in interface org.menacheri.jetclient.event.NetworkEvent
-
- setEmailId(String) - Method in class org.menacheri.jetclient.app.impl.DefaultPlayer
-
- setEmailId(String) - Method in interface org.menacheri.jetclient.app.Player
-
Method used to set the email id of the gamer.
- setGameName(String) - Method in interface org.menacheri.jetclient.app.Game
-
Set the name of the game.
- setGameName(String) - Method in class org.menacheri.jetclient.app.impl.SimpleGame
-
- setId(Object) - Method in interface org.menacheri.jetclient.app.Game
-
- setId(Object) - Method in class org.menacheri.jetclient.app.impl.DefaultPlayer
-
- setId(Object) - Method in class org.menacheri.jetclient.app.impl.DefaultSession
-
- setId(Object) - Method in class org.menacheri.jetclient.app.impl.SimpleGame
-
Meant as a database access key.
- setId(Object) - Method in interface org.menacheri.jetclient.app.Player
-
A unique key representing a gamer.
- setId(Object) - Method in interface org.menacheri.jetclient.app.Session
-
- setKey(String) - Method in class org.menacheri.jetclient.event.impl.ChangeAttributeEvent
-
- setLastReadWriteTime(long) - Method in class org.menacheri.jetclient.app.impl.DefaultSession
-
- setName(String) - Method in class org.menacheri.jetclient.app.impl.DefaultPlayer
-
- setName(String) - Method in interface org.menacheri.jetclient.app.Player
-
Method used to set the name of the gamer.
- setPlayerSessions(Set<PlayerSession>) - Method in class org.menacheri.jetclient.app.impl.DefaultPlayer
-
- setSource(Object) - Method in interface org.menacheri.jetclient.event.Event
-
- setSource(Object) - Method in class org.menacheri.jetclient.event.impl.DefaultEvent
-
- setTcpMessageSender(MessageSender.IReliable) - Method in class org.menacheri.jetclient.app.impl.DefaultSession
-
- setTcpMessageSender(MessageSender.IReliable) - Method in interface org.menacheri.jetclient.app.Session
-
- setTimeStamp(long) - Method in interface org.menacheri.jetclient.event.Event
-
- setTimeStamp(long) - Method in class org.menacheri.jetclient.event.impl.DefaultEvent
-
- setType(int) - Method in interface org.menacheri.jetclient.event.Event
-
- setType(int) - Method in class org.menacheri.jetclient.event.impl.DefaultEvent
-
- setType(int) - Method in class org.menacheri.jetclient.event.impl.DefaultNetworkEvent
-
- setUDPEnabled(boolean) - Method in class org.menacheri.jetclient.app.impl.DefaultSession
-
- setUDPEnabled(boolean) - Method in interface org.menacheri.jetclient.app.Session
-
A session would not have UDP capability when created.
- setUdpMessageSender(MessageSender.IFast) - Method in class org.menacheri.jetclient.app.impl.DefaultSession
-
- setUdpMessageSender(MessageSender.IFast) - Method in interface org.menacheri.jetclient.app.Session
-
- setValue(Object) - Method in class org.menacheri.jetclient.event.impl.ChangeAttributeEvent
-
- setWriteable(boolean) - Method in class org.menacheri.jetclient.app.impl.DefaultSession
-
- setWriteable(boolean) - Method in interface org.menacheri.jetclient.app.Session
-
- SimpleCredentials - Class in org.menacheri.jetclient.util
-
- SimpleCredentials(ChannelBuffer) - Constructor for class org.menacheri.jetclient.util.SimpleCredentials
-
- SimpleGame - Class in org.menacheri.jetclient.app.impl
-
Domain object representing a game.
- SimpleGame(Object, String) - Constructor for class org.menacheri.jetclient.app.impl.SimpleGame
-
- source - Variable in class org.menacheri.jetclient.event.impl.DefaultEvent
-
- START - Static variable in class org.menacheri.jetclient.event.Events
-
Event sent from server to client to start message sending from client to
server.
- STOP - Static variable in class org.menacheri.jetclient.event.Events
-
Event sent from server to client to stop messages from being sent to
server.
- STRING_DECODER - Static variable in class org.menacheri.jetclient.util.NettyUtils
-
- STRING_ENCODER - Static variable in class org.menacheri.jetclient.util.NettyUtils
-
- worker - Variable in class org.menacheri.jetclient.NettyTCPClient
-
The worker executor which will provide threads to Netty
ChannelFactory
for decoding encoding done on the
ChannelPipeline
.
- worker - Variable in class org.menacheri.jetclient.NettyUDPClient
-
The worker executor which will provide threads to Netty
ChannelFactory
for decoding encoding done on the
ChannelPipeline
.
- write(DatagramChannel, Object) - Method in class org.menacheri.jetclient.NettyUDPClient
-
Utility method used to send a message to the server.
- write(DatagramChannel, Object, InetSocketAddress) - Static method in class org.menacheri.jetclient.NettyUDPClient
-
Utility method used to send a message to the server.
- writeByte(byte) - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
- writeByte(byte) - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- writeBytes(byte[]) - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Transfers the specified source array's data to this buffer starting at
the current writerIndex
and increases the writerIndex
by
the number of the transferred bytes (= src.length
).
- writeBytes(byte[]) - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- writeChar(int) - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Sets the specified 2-byte UTF-16 character at the current
writerIndex
and increases the writerIndex
by 2
in
this buffer.
- writeChar(int) - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- writeDouble(double) - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Sets the specified 64-bit floating point number at the current
writerIndex
and increases the writerIndex
by 8
in
this buffer.
- writeDouble(double) - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- writeFloat(float) - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Sets the specified 32-bit floating point number at the current
writerIndex
and increases the writerIndex
by 4
in
this buffer.
- writeFloat(float) - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- writeInt(int) - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Sets the specified 32-bit integer at the current writerIndex
and
increases the writerIndex
by 4
in this buffer.
- writeInt(int) - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- writeLong(long) - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Sets the specified 64-bit long integer at the current writerIndex
and increases the writerIndex
by 8
in this buffer.
- writeLong(long) - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- writeMedium(int) - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Sets the specified 24-bit medium integer at the current
writerIndex
and increases the writerIndex
by 3
in
this buffer.
- writeMedium(int) - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- writeObject(Transform<V, T>, V) - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Most implementations will write an object to the underlying buffer after
converting the incoming object using the transformer into a byte array.
- writeObject(Transform<V, ChannelBuffer>, V) - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- writeObject(Transform<V, ChannelBuffer>, V) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
- writeShort(int) - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
Sets the specified 16-bit short integer at the current
writerIndex
and increases the writerIndex
by 2
in
this buffer.
- writeShort(int) - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- writeSocketAddress(InetSocketAddress) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
- writeString(String) - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
- writeString(String) - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- writeString(String) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
Creates a channel buffer of which the first 2 bytes contain the length of
the string in bytes and the remaining is the actual string in binary
UTF-8 format.
- writeString(String, Charset) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
Creates a channel buffer of which the first 2 bytes contain the length of
the string in bytes and the remaining is the actual string in binary with
specified format.
- writeStrings(String...) - Method in interface org.menacheri.jetclient.communication.MessageBuffer
-
- writeStrings(String...) - Method in class org.menacheri.jetclient.communication.NettyMessageBuffer
-
- writeStrings(String...) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
Writes multiple strings to a channelBuffer with the length of the string
preceding its content.
- writeStrings(Charset, String...) - Static method in class org.menacheri.jetclient.util.NettyUtils
-
Writes multiple strings to a channelBuffer with the length of the string
preceding its content.