org.spicefactory.cinnamon.io
Class KeepAliveMessage

java.lang.Object
  extended by org.spicefactory.cinnamon.io.KeepAliveMessage
All Implemented Interfaces:
Externalizable

public class KeepAliveMessage
extends Object
implements Externalizable

Represents a message that can be used to prevent session timeouts. This type of message never leads to any action or service invocation. Usually it will just be returned to the client.

Author:
Jens Halm

Constructor Summary
KeepAliveMessage()
           
 
Method Summary
 void readExternal(DataInput in)
          Restores the content of this object from the DataInput instance.
 void writeExternal(DataOutput out)
          Saves the content of this object to the DataOutput instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeepAliveMessage

public KeepAliveMessage()
Method Detail

readExternal

public void readExternal(DataInput in)
Description copied from interface: Externalizable
Restores the content of this object from the DataInput instance. Values must be read in the same sequence as they were written on the client side.

Specified by:
readExternal in interface Externalizable
Parameters:
in - the AMF3 data to read from

writeExternal

public void writeExternal(DataOutput out)
Description copied from interface: Externalizable
Saves the content of this object to the DataOutput instance.

Specified by:
writeExternal in interface Externalizable
Parameters:
out - the output to write to