Uses of Interface
com.jme3.network.Message
Packages that use Message
Package
Description
-
Uses of Message in com.jme3.network
Classes in com.jme3.network that implement MessageModifier and TypeClassDescriptionclassInterface implemented by all network messages.Methods in com.jme3.network that return MessageModifier and TypeMethodDescriptionAbstractMessage.setReliable(boolean f) Sets this message to 'reliable' or not and returns this 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 MessageModifier and TypeMethodDescriptionvoidServer.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.voidServer.broadcast(Filter<? super HostedConnection> filter, Message message) Sends the specified message to all connected clients that match the filter.voidSends the specified message to all connected clients.voidMessageListener.messageReceived(S source, Message m) voidSends a message to the other end of the connection using the specified alternate channel.voidSends a message to the server.voidSends a message to the other end of the connection using the specified alternate channel.voidSends 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 MessageModifier and TypeMethodDescriptionMessageBuffer.pollMessage()Returns the next message in the buffer or null if there are no more messages in the buffer.MessageProtocol.toMessage(ByteBuffer bytes) Methods in com.jme3.network.base with parameters of type MessageModifier and TypeMethodDescriptionvoidDefaultServer.broadcast(int channel, Filter<? super HostedConnection> filter, Message message) voidDefaultServer.broadcast(Filter<? super HostedConnection> filter, Message message) voidprotected voidprotected voidprotected voidDefaultServer.dispatch(HostedConnection source, Message m) protected voidNote on threading for those writing their own server or adapter implementations.voidDefaultClient.Redispatch.messageReceived(Object source, Message m) voidDefaultServer.Redispatch.messageReceived(HostedConnection source, Message m) voidMessageListenerRegistry.messageReceived(S source, Message m) voidprotected voidvoidvoidvoidMessageProtocol.toByteBuffer(Message message, ByteBuffer target) -
Uses of Message in com.jme3.network.base.protocol
Methods in com.jme3.network.base.protocol that return MessageModifier and TypeMethodDescriptionGreedyMessageBuffer.pollMessage()Returns the next message in the buffer or null if there are no more messages in the buffer.LazyMessageBuffer.pollMessage()Returns the next message in the buffer or null if there are no more messages in the buffer.SerializerMessageProtocol.toMessage(ByteBuffer bytes) Creates and returns a message from the properly sized byte buffer using com.jme3.network.serializing.Serializer.Methods in com.jme3.network.base.protocol with parameters of type MessageModifier and TypeMethodDescriptionSerializerMessageProtocol.toByteBuffer(Message message, ByteBuffer target) Converts a message to a ByteBuffer using the com.jme3.network.serializing.Serializer and the (short length) + data protocol. -
Uses of Message in com.jme3.network.message
Classes in com.jme3.network.message that implement MessageModifier and TypeClassDescriptionclassContains information about any extra server channels (if they exist).classClient registration is a message that contains a unique ID.classCompressedMessage is a base class for all messages that compress others.classRepresents a disconnect message.classGZIPCompressedMessage is the class that you need to use should you want to compress a message using Gzip.classHolds a compiled set of message registration information that can be sent over the wire.classCompress a message using this ZIPCompressedMessage classMethods in com.jme3.network.message that return MessageMethods in com.jme3.network.message with parameters of type MessageConstructors in com.jme3.network.message with parameters of type MessageModifierConstructorDescriptionCompressedMessage(Message msg) ZIPCompressedMessage(Message msg, int level) -
Uses of Message in com.jme3.network.rmi
Classes in com.jme3.network.rmi that implement MessageModifier and TypeClassDescriptionclassSent to a remote client to make a remote method invocation.classContains the return value for a remote method invocation, sent as a response to aRemoteMethodCallMessagewith a non-zero invocationID.classSent to expose RMI interfaces on the local client to other clients.Methods in com.jme3.network.rmi with parameters of type MessageModifier and TypeMethodDescriptionvoidObjectStore.ClientEventHandler.messageReceived(Object source, Message m) voidObjectStore.ServerEventHandler.messageReceived(HostedConnection source, Message m) -
Uses of Message in com.jme3.network.service.rpc.msg
Classes in com.jme3.network.service.rpc.msg that implement MessageModifier and TypeClassDescriptionclassUsed internally to send RPC call information to the other end of a connection for execution.classUsed internally to send an RPC call's response back to the caller. -
Uses of Message in com.jme3.network.service.serializer
Methods in com.jme3.network.service.serializer with parameters of type MessageModifier and TypeMethodDescriptionvoidClientSerializerRegistrationsService.messageReceived(Client source, Message m) -
Uses of Message in com.jme3.network.util
Methods in com.jme3.network.util with parameters of type MessageModifier and TypeMethodDescriptionvoidAbstractMessageDelegator.messageReceived(S source, Message msg) Implementation of the MessageListener's messageReceived() method that will use the current message type mapping to find an appropriate message handling method and call it on the delegate returned by getSourceDelegate().