fulmine.protocol.specification
Interface IFrameWriter

All Known Implementing Classes:
FrameWriter

public interface IFrameWriter

Writes fulmine delta (FD) protocol frames.

Please refer to the "Fulmine Delta Transmission Protocol" specification for a complete description of the fulmine serialisation technique.

Author:
Ramon Servadei
See Also:
IFrameConstants

Method Summary
 byte[] write(IContainer container)
          Write a container's current state changes into an FD frame.
 byte[] writeComplete(IContainer container)
          Write a container's complete state into an FD frame.
 byte[] writeMeta(IContainer container)
          Write only a container's meta state into an FD frame.
 

Method Detail

writeComplete

byte[] writeComplete(IContainer container)
Write a container's complete state into an FD frame.

Parameters:
container - the container to write as a frame
Returns:
the byte[] for the FD frame representing the state of the container

write

byte[] write(IContainer container)
Write a container's current state changes into an FD frame.

Parameters:
container - the container to write as a frame
Returns:
the byte[] for the FD frame representing the state of the container

writeMeta

byte[] writeMeta(IContainer container)
Write only a container's meta state into an FD frame. The meta state includes the current state (active/inactive)

Parameters:
container - the container to write
Returns:
the byte[] for the FD frame representing the meta state of the container


Copyright © 2007-2009. All Rights Reserved.