dist1.acb.CBL.concretePackets
Class ResponseJoinInfo

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

public class ResponseJoinInfo
extends Response

Response for joining the PB-Group

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

Constructor Summary
ResponseJoinInfo(Request request, byte[][] files, java.lang.String[] fileNames, Id id)
          Creates a new instance of ResponseJoinInfo.
 
Method Summary
 java.lang.String[] getFileNames()
          Getter for property fileNames.
 byte[][] getFiles()
          Getter for property files.
 void setFileNames(java.lang.String[] fileNames)
          Setter for property fileNames.
 void setFiles(byte[][] files)
          Setter for property files.
 
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

ResponseJoinInfo

public ResponseJoinInfo(Request request,
                        byte[][] files,
                        java.lang.String[] fileNames,
                        Id id)
Creates a new instance of ResponseJoinInfo.

Parameters:
request - The response is for this request
files - snapshot's files of the database
fileNames - the names of the files
id - Start Id of the replicas (we must recive repica with this Id first!)
Method Detail

setFileNames

public void setFileNames(java.lang.String[] fileNames)
Setter for property fileNames.

Parameters:
fileNames - New value of property fileNames.

getFileNames

public java.lang.String[] getFileNames()
Getter for property fileNames.

Returns:
Value of property fileNames.

setFiles

public void setFiles(byte[][] files)
Setter for property files.

Parameters:
files - New value of property files.

getFiles

public byte[][] getFiles()
Getter for property files.

Returns:
Value of property files.


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