Package com.jme3.network
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
Interface implemented by all network messages.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates which way an outgoing message should be sent or which way an incoming message was sent.setReliable
(boolean f) Sets this message to 'reliable' or not and returns this message.
-
Constructor Details
-
AbstractMessage
protected AbstractMessage() -
AbstractMessage
protected AbstractMessage(boolean reliable)
-
-
Method Details
-
setReliable
Sets this message to 'reliable' or not and returns this message.- Specified by:
setReliable
in interfaceMessage
-
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 interfaceMessage
-