pRTI™ v1.3

se.pitch.prti
Class LogicalTimeFactoryDouble

java.lang.Object
  |
  +--se.pitch.prti.LogicalTimeFactoryDouble

public class LogicalTimeFactoryDouble
extends java.lang.Object
implements LogicalTimeFactory, java.io.Serializable

Implementation of Logical Time Factory. Produces logical times of type LogicalTimeDouble.

See Also:
Serialized Form

Constructor Summary
LogicalTimeFactoryDouble()
           
 
Method Summary
 LogicalTime decode(byte[] buffer, int offset)
          Decode and create logical time from serialized format.
 LogicalTime makeInitial()
          Construct a new Logical Time with initial value set to initial time (lowest time possible).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogicalTimeFactoryDouble

public LogicalTimeFactoryDouble()
Method Detail

makeInitial

public LogicalTime makeInitial()
Description copied from interface: LogicalTimeFactory
Construct a new Logical Time with initial value set to initial time (lowest time possible).
Specified by:
makeInitial in interface LogicalTimeFactory
Tags copied from interface: LogicalTimeFactory
Returns:
New Logical Time

decode

public LogicalTime decode(byte[] buffer,
                          int offset)
Description copied from interface: LogicalTimeFactory
Decode and create logical time from serialized format.
Specified by:
decode in interface LogicalTimeFactory
Tags copied from interface: LogicalTimeFactory
Parameters:
buffer - Encoded logical time
offset - Start position in the source data
Returns:
The decoded Logical Time

pRTI™ v1.3

Visit the pRTI™ Website

pRTI is a trademark of Pitch Technologies AB

Repslagaregatan 25
S-582 22 Linkoping,
Sweden.
All Rights Reserved.