Class AbstractMessage

java.lang.Object
com.jme3.network.AbstractMessage
All Implemented Interfaces:
Message
Direct Known Subclasses:
ChannelInfoMessage, ClientRegistrationMessage, CompressedMessage, DisconnectMessage, RemoteMethodCallMessage, RemoteMethodReturnMessage, RemoteObjectDefMessage, RpcCallMessage, RpcResponseMessage, SerializerRegistrationsMessage

public abstract class AbstractMessage extends Object implements Message
Interface implemented by all network messages.
  • Constructor Details

    • AbstractMessage

      protected AbstractMessage()
    • AbstractMessage

      protected AbstractMessage(boolean reliable)
  • Method Details

    • setReliable

      public Message setReliable(boolean f)
      Sets this message to 'reliable' or not and returns this message.
      Specified by:
      setReliable in interface Message
    • isReliable

      public boolean isReliable()
      Indicates which way an outgoing message should be sent or which way an incoming message was sent.
      Specified by:
      isReliable in interface Message