com.jme3.network
Class AbstractMessage

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

public abstract class AbstractMessage
extends java.lang.Object
implements Message

Interface implemented by all network messages.


Constructor Summary
protected AbstractMessage()
           
protected AbstractMessage(boolean reliable)
           
 
Method Summary
 boolean isReliable()
          Indicates which way an outgoing message should be sent or which way an incoming message was sent.
 Message setReliable(boolean f)
          Sets this message to 'reliable' or not and returns this message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMessage

protected AbstractMessage()

AbstractMessage

protected AbstractMessage(boolean reliable)
Method Detail

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