soc.server
Class SOCReplaceRequest
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
arriving
private StringConnection arriving
leaving
private StringConnection leaving
sdMes
private SOCSitDown sdMes
SOCReplaceRequest
public SOCReplaceRequest(StringConnection a,
StringConnection l,
SOCSitDown sm)
- Make a new request
- Parameters:
a
- the arriving connectionl
- the leaving connectionsm
- the SITDOWN message
getArriving
public StringConnection getArriving()
- Returns:
- the arriving connection
getLeaving
public StringConnection getLeaving()
- Returns:
- the leaving connection
getSitDownMessage
public SOCSitDown getSitDownMessage()
- Returns:
- the SITDOWN message