com.threerings.presents.client
Class ClientCommunicator.PrefPortInterval

java.lang.Object
  extended by com.samskivert.util.Interval
      extended by com.threerings.presents.client.ClientCommunicator.PrefPortInterval
Enclosing class:
ClientCommunicator

protected class ClientCommunicator.PrefPortInterval
extends Interval

Used to save our preferred port once we know our connection is not going to be unceremoniously closed by Windows Connection Sharing.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.samskivert.util.Interval
Interval.Factory, Interval.IntervalTask, Interval.RunBuddy
 
Field Summary
protected  String _key
           
protected  int _nextPort
           
protected  int _thisPort
           
 
Fields inherited from class com.samskivert.util.Interval
_runQueue, _task, _timer, RUN_DIRECT
 
Constructor Summary
ClientCommunicator.PrefPortInterval(String key, int thisPort, int nextPort)
           
 
Method Summary
 void expired()
           
 void failed()
           
 
Methods inherited from class com.samskivert.util.Interval
cancel, create, createTimer, noteRejected, safelyExpire, schedule, schedule, schedule, schedule, schedule, scheduleTask, setRunQueue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_key

protected String _key

_thisPort

protected int _thisPort

_nextPort

protected int _nextPort
Constructor Detail

ClientCommunicator.PrefPortInterval

public ClientCommunicator.PrefPortInterval(String key,
                                           int thisPort,
                                           int nextPort)
Method Detail

expired

public void expired()
Specified by:
expired in class Interval

failed

public void failed()