dist1.acb.common.transport.concretePackets
Class ResponseLoginOk

java.lang.Object
  extended bydist1.acb.common.transport.Packet
      extended bydist1.acb.common.transport.Response
          extended bydist1.acb.common.transport.concretePackets.ResponseLoginOk
All Implemented Interfaces:
java.io.Serializable

public class ResponseLoginOk
extends Response

ResponseLoginOk

Version:
$Revision: 1.1 $
Author:
Alexander Stasiv
See Also:
Serialized Form

Constructor Summary
ResponseLoginOk(Request request)
          Creates a new instance of ResponseLoginOk
ResponseLoginOk(Request request, java.lang.Integer lastRequest)
          Creates a new instance of ResponseLoginOk
 
Method Summary
 java.lang.Integer getLastRequest()
          Getter for property lastRequest.
 void setLastRequest(java.lang.Integer lastRequest)
          Setter for property lastRequest.
 
Methods inherited from class dist1.acb.common.transport.Packet
equals, getId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResponseLoginOk

public ResponseLoginOk(Request request,
                       java.lang.Integer lastRequest)
Creates a new instance of ResponseLoginOk

Parameters:
request - response will be created for this request (it will inherit the id). If request is null the id will be zero.
lastRequest - ID of last user's request which was executed

ResponseLoginOk

public ResponseLoginOk(Request request)
Creates a new instance of ResponseLoginOk

Parameters:
request - response will be created for this request (it will inherit the id). If request is null the id will be zero.
Method Detail

setLastRequest

public void setLastRequest(java.lang.Integer lastRequest)
Setter for property lastRequest.

Parameters:
lastRequest - New value of property lastRequest.

getLastRequest

public java.lang.Integer getLastRequest()
Getter for property lastRequest.

Returns:
Value of property lastRequest.


Copyright © 2004 Phoenix Team (CMU/AIT). All Rights Reserved.