soc.server
Class SOCReplaceRequest

java.lang.Object
  extended by soc.server.SOCReplaceRequest

 class SOCReplaceRequest
extends java.lang.Object

This is a pair of connections, one is sitting at the game and the other is leaving.


Field Summary
private  StringConnection arriving
           
private  StringConnection leaving
           
private  SOCSitDown sdMes
           
 
Constructor Summary
SOCReplaceRequest(StringConnection a, StringConnection l, SOCSitDown sm)
          Make a new request
 
Method Summary
 StringConnection getArriving()
           
 StringConnection getLeaving()
           
 SOCSitDown getSitDownMessage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

arriving

private StringConnection arriving

leaving

private StringConnection leaving

sdMes

private SOCSitDown sdMes
Constructor Detail

SOCReplaceRequest

public SOCReplaceRequest(StringConnection a,
                         StringConnection l,
                         SOCSitDown sm)
Make a new request

Parameters:
a - the arriving connection
l - the leaving connection
sm - the SITDOWN message
Method Detail

getArriving

public StringConnection getArriving()
Returns:
the arriving connection

getLeaving

public StringConnection getLeaving()
Returns:
the leaving connection

getSitDownMessage

public SOCSitDown getSitDownMessage()
Returns:
the SITDOWN message