Stilts 0.1.0-SNAPSHOT

org.projectodd.stilts.stomp
Class Heartbeat

java.lang.Object
  extended by org.projectodd.stilts.stomp.Heartbeat

public class Heartbeat
extends Object


Constructor Summary
Heartbeat()
           
 
Method Summary
 int calculateDuration(int senderDuration, int receiverDuration)
           
 int getClientReceive()
           
 int getClientSend()
           
 long getLastUpdate()
           
 int getServerReceive()
           
 int getServerSend()
           
 void setClientReceive(int clientReceive)
           
 void setClientSend(int clientSend)
           
 void setServerReceive(int serverReceive)
           
 void setServerSend(int serverSend)
           
 void touch()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Heartbeat

public Heartbeat()
Method Detail

calculateDuration

public int calculateDuration(int senderDuration,
                             int receiverDuration)

getClientReceive

public int getClientReceive()

getClientSend

public int getClientSend()

getLastUpdate

public long getLastUpdate()

getServerReceive

public int getServerReceive()

getServerSend

public int getServerSend()

setClientReceive

public void setClientReceive(int clientReceive)

setClientSend

public void setClientSend(int clientSend)

setServerReceive

public void setServerReceive(int serverReceive)

setServerSend

public void setServerSend(int serverSend)

touch

public void touch()

Stilts 0.1.0-SNAPSHOT

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.