com.threerings.presents.net
Class UpdateThrottleMessage

java.lang.Object
  extended by com.threerings.io.SimpleStreamableObject
      extended by com.threerings.presents.net.Message
          extended by com.threerings.presents.net.DownstreamMessage
              extended by com.threerings.presents.net.UpdateThrottleMessage
All Implemented Interfaces:
Streamable

public class UpdateThrottleMessage
extends DownstreamMessage

Notifies the client that its message throttle has been updated.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
 int messagesPerSec
          The number of messages allowed per second.
 
Fields inherited from class com.threerings.presents.net.DownstreamMessage
messageId
 
Fields inherited from class com.threerings.presents.net.Message
received
 
Constructor Summary
UpdateThrottleMessage()
          Zero argument constructor used when unserializing an instance.
UpdateThrottleMessage(int messagesPerSec)
           
 
Method Summary
 
Methods inherited from class com.threerings.presents.net.DownstreamMessage
toString
 
Methods inherited from class com.threerings.presents.net.Message
getTransport, noteActualTransport, setTransport
 
Methods inherited from class com.threerings.io.SimpleStreamableObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

messagesPerSec

public final int messagesPerSec
The number of messages allowed per second.

Constructor Detail

UpdateThrottleMessage

public UpdateThrottleMessage()
Zero argument constructor used when unserializing an instance.


UpdateThrottleMessage

public UpdateThrottleMessage(int messagesPerSec)