com.sleepycat.je.rep.stream
Class Protocol.SNTPResponse

java.lang.Object
  extended by com.sleepycat.je.rep.utilint.BinaryProtocol.Message
      extended by com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
          extended by com.sleepycat.je.rep.stream.Protocol.HandshakeMessage
              extended by com.sleepycat.je.rep.stream.Protocol.SNTPResponse
All Implemented Interfaces:
BinaryProtocol.WireFormatable
Enclosing class:
Protocol

public class Protocol.SNTPResponse
extends Protocol.HandshakeMessage


Constructor Summary
Protocol.SNTPResponse(ByteBuffer buffer)
           
Protocol.SNTPResponse(Protocol.SNTPRequest request)
           
 
Method Summary
 long getDelay()
           
 long getDelta()
           
 long getDestinationTimestamp()
           
 BinaryProtocol.MessageOp getOp()
           
 long getOriginateTimestamp()
           
 long getReceiveTimestamp()
           
 long getTransmitTimestamp()
           
 ByteBuffer wireFormat()
          The default message consists of the operation enum and just a 0 length size.
 
Methods inherited from class com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
getBoolean, getByteArray, getEnum, getRepNodeImplArray, getStringArray, getVLSN, wireFormat
 
Methods inherited from class com.sleepycat.je.rep.utilint.BinaryProtocol.Message
allocateInitializedBuffer, match, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Protocol.SNTPResponse

public Protocol.SNTPResponse(Protocol.SNTPRequest request)

Protocol.SNTPResponse

public Protocol.SNTPResponse(ByteBuffer buffer)
Method Detail

wireFormat

public ByteBuffer wireFormat()
Description copied from class: BinaryProtocol.Message
The default message consists of the operation enum and just a 0 length size.

Specified by:
wireFormat in interface BinaryProtocol.WireFormatable
Overrides:
wireFormat in class BinaryProtocol.Message

getOp

public BinaryProtocol.MessageOp getOp()
Specified by:
getOp in class BinaryProtocol.Message

getOriginateTimestamp

public long getOriginateTimestamp()

getReceiveTimestamp

public long getReceiveTimestamp()

getTransmitTimestamp

public long getTransmitTimestamp()

getDestinationTimestamp

public long getDestinationTimestamp()

getDelay

public long getDelay()

getDelta

public long getDelta()


Copyright (c) 2004-2010 Oracle. All rights reserved.