dist1.acb.common.transport.concretePackets
Class RequestLogin

java.lang.Object
  extended bydist1.acb.common.transport.Packet
      extended bydist1.acb.common.transport.Request
          extended bydist1.acb.common.transport.RequestUpdate
              extended bydist1.acb.common.transport.concretePackets.RequestLogin
All Implemented Interfaces:
java.io.Serializable

public class RequestLogin
extends RequestUpdate

Request for a login (second phase: signature)

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

Constructor Summary
RequestLogin(java.lang.String login, java.math.BigInteger signature, java.lang.String ip, int port, java.lang.Integer lastRequest)
          Creates a new instance of RequestLogin
 
Method Summary
 java.lang.String getCbl()
          Getter for property cbl.
 java.lang.String getIp()
          Getter for property ip.
 java.lang.Integer getLastRequest()
          Getter for property lastRequest.
 java.lang.String getLogin()
          Getter for property login.
 int getPort()
          Getter for property port.
 java.math.BigInteger getSignature()
          Getter for property signature.
 void setCbl(java.lang.String cbl)
          Setter for property cbl.
 void setIp(java.lang.String ip)
          Setter for property ip.
 void setLastRequest(java.lang.Integer lastRequest)
          Setter for property lastRequest.
 void setLogin(java.lang.String login)
          Setter for property login.
 void setPort(int port)
          Setter for property port.
 void setSignature(java.math.BigInteger signature)
          Setter for property signature.
 
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

RequestLogin

public RequestLogin(java.lang.String login,
                    java.math.BigInteger signature,
                    java.lang.String ip,
                    int port,
                    java.lang.Integer lastRequest)
Creates a new instance of RequestLogin

Parameters:
login - A name of the user
signature - User's password
ip - Current IP of the user
port - Current port of the user's Provider
lastRequest - ID of last user's request (null if the information is unavailable)
Method Detail

setCbl

public void setCbl(java.lang.String cbl)
Setter for property cbl.

Parameters:
cbl - New value of property cbl.

getCbl

public java.lang.String getCbl()
Getter for property cbl.

Returns:
Value of property cbl.

setIp

public void setIp(java.lang.String ip)
Setter for property ip.

Parameters:
ip - New value of property ip.

getIp

public java.lang.String getIp()
Getter for property ip.

Returns:
Value of property ip.

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.

setLogin

public void setLogin(java.lang.String login)
Setter for property login.

Parameters:
login - New value of property login.

getLogin

public java.lang.String getLogin()
Getter for property login.

Returns:
Value of property login.

setPort

public void setPort(int port)
Setter for property port.

Parameters:
port - New value of property port.

getPort

public int getPort()
Getter for property port.

Returns:
Value of property port.

setSignature

public void setSignature(java.math.BigInteger signature)
Setter for property signature.

Parameters:
signature - New value of property signature.

getSignature

public java.math.BigInteger getSignature()
Getter for property signature.

Returns:
Value of property signature.


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