|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Message | |
---|---|
com.jme3.network | The network package contains the public API for the jME3 SpiderMonkey networking module. |
com.jme3.network.base | The base package contains the default implementations for the
Client and Server
interfaces from the public API. |
com.jme3.network.message | |
com.jme3.network.rmi |
Uses of Message in com.jme3.network |
---|
Classes in com.jme3.network that implement Message | |
---|---|
class |
AbstractMessage
Interface implemented by all network messages. |
Methods in com.jme3.network that return Message | |
---|---|
Message |
AbstractMessage.setReliable(boolean f)
Sets this message to 'reliable' or not and returns this message. |
Message |
Message.setReliable(boolean f)
Sets this message to 'reliable' or not and returns this message. |
Methods in com.jme3.network with parameters of type Message | |
---|---|
void |
Server.broadcast(Filter<? super HostedConnection> filter,
Message message)
Sends the specified message to all connected clients that match the filter. |
void |
Server.broadcast(int channel,
Filter<? super HostedConnection> filter,
Message message)
Sends the specified message over the specified alternate channel to all connected clients that match the filter. |
void |
Server.broadcast(Message message)
Sends the specified message to all connected clients. |
void |
MessageListener.messageReceived(S source,
Message m)
|
void |
Client.send(int channel,
Message message)
Sends a message to the other end of the connection using the specified alternate channel. |
void |
MessageConnection.send(int channel,
Message message)
Sends a message to the other end of the connection using the specified alternate channel. |
void |
Client.send(Message message)
Sends a message to the server. |
void |
MessageConnection.send(Message message)
Sends a message to the other end of the connection. |
Uses of Message in com.jme3.network.base |
---|
Methods in com.jme3.network.base that return Message | |
---|---|
Message |
MessageProtocol.getMessage()
Retrieves and removes an extracted message from the accumulated buffer or returns null if there are no more messages. |
Methods in com.jme3.network.base with parameters of type Message | |
---|---|
void |
DefaultServer.broadcast(Filter<? super HostedConnection> filter,
Message message)
|
void |
DefaultServer.broadcast(int channel,
Filter<? super HostedConnection> filter,
Message message)
|
void |
DefaultServer.broadcast(Message message)
|
protected void |
KernelAdapter.dispatch(Endpoint p,
Message m)
Note on threading for those writing their own server or adapter implementations. |
protected void |
DefaultServer.dispatch(HostedConnection source,
Message m)
|
protected void |
ConnectorAdapter.dispatch(Message m)
|
protected void |
DefaultClient.dispatch(Message m)
|
void |
DefaultServer.Redispatch.messageReceived(HostedConnection source,
Message m)
|
void |
DefaultClient.Redispatch.messageReceived(java.lang.Object source,
Message m)
|
void |
MessageListenerRegistry.messageReceived(S source,
Message m)
|
static java.nio.ByteBuffer |
MessageProtocol.messageToBuffer(Message message,
java.nio.ByteBuffer target)
Converts a message to a ByteBuffer using the Serializer and the (short length) + data protocol. |
void |
DefaultClient.send(int channel,
Message message)
|
void |
DefaultServer.Connection.send(int channel,
Message message)
|
protected void |
DefaultClient.send(int channel,
Message message,
boolean waitForConnected)
|
void |
DefaultClient.send(Message message)
|
void |
DefaultServer.Connection.send(Message message)
|
Uses of Message in com.jme3.network.message |
---|
Classes in com.jme3.network.message that implement Message | |
---|---|
class |
ChannelInfoMessage
Contains information about any extra server channels (if they exist). |
class |
ClientRegistrationMessage
Client registration is a message that contains a unique ID. |
class |
CompressedMessage
CompressedMessage is a base class for all messages that compress others. |
class |
DisconnectMessage
Represents a disconnect message. |
class |
GZIPCompressedMessage
GZIPCompressedMessage is the class that you need to use should you want to compress a message using Gzip. |
class |
ZIPCompressedMessage
Compress a message using this ZIPCompressedMessage class |
Methods in com.jme3.network.message that return Message | |
---|---|
Message |
CompressedMessage.getMessage()
|
Methods in com.jme3.network.message with parameters of type Message | |
---|---|
void |
CompressedMessage.setMessage(Message message)
|
Constructors in com.jme3.network.message with parameters of type Message | |
---|---|
CompressedMessage(Message msg)
|
|
GZIPCompressedMessage(Message msg)
|
|
ZIPCompressedMessage(Message msg)
|
|
ZIPCompressedMessage(Message msg,
int level)
|
Uses of Message in com.jme3.network.rmi |
---|
Classes in com.jme3.network.rmi that implement Message | |
---|---|
class |
RemoteMethodCallMessage
Sent to a remote client to make a remote method invocation. |
class |
RemoteMethodReturnMessage
Contains the return value for a remote method invocation, sent as a response to a RemoteMethodCallMessage with a non-zero invocationID. |
class |
RemoteObjectDefMessage
Sent to expose RMI interfaces on the local client to other clients. |
Methods in com.jme3.network.rmi with parameters of type Message | |
---|---|
void |
ObjectStore.ServerEventHandler.messageReceived(HostedConnection source,
Message m)
|
void |
ObjectStore.ClientEventHandler.messageReceived(java.lang.Object source,
Message m)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |