dist1.acb.common.transport.concretePackets
Class ResponseEnvironment

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

public class ResponseEnvironment
extends Response

ResponseEnvironment

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

Constructor Summary
ResponseEnvironment(Request request, java.util.LinkedList CBLs, java.net.InetSocketAddress primary, java.net.InetSocketAddress immortalPoint)
          Creates a new ResponseEnvironment object.
 
Method Summary
 java.util.LinkedList getCBLs()
          Getter for property CBLs.
 java.net.InetSocketAddress getImmortalPoint()
          Getter for property immortalPoint.
 java.net.InetSocketAddress getPrimary()
          Getter for property primary.
 void setCBLs(java.util.LinkedList CBLs)
          Setter for property CBLs.
 void setImmortalPoint(java.net.InetSocketAddress immortalPoint)
          Setter for property immortalPoint.
 void setPrimary(java.net.InetSocketAddress primary)
          Setter for property primary.
 
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

ResponseEnvironment

public ResponseEnvironment(Request request,
                           java.util.LinkedList CBLs,
                           java.net.InetSocketAddress primary,
                           java.net.InetSocketAddress immortalPoint)
Creates a new ResponseEnvironment object.

Parameters:
request - The response will be created for this request (it will inherit the id). If request is null the id will be zero.
CBLs - LinkedList with dist1.acb.common.database.CBL objects
primary - The primary of the system
immortalPoint - The immortal point of the system
Method Detail

setCBLs

public void setCBLs(java.util.LinkedList CBLs)
Setter for property CBLs.

Parameters:
CBLs - New value of property CBLs.

getCBLs

public java.util.LinkedList getCBLs()
Getter for property CBLs.

Returns:
Value of property CBLs.

setImmortalPoint

public void setImmortalPoint(java.net.InetSocketAddress immortalPoint)
Setter for property immortalPoint.

Parameters:
immortalPoint - New value of property immortalPoint.

getImmortalPoint

public java.net.InetSocketAddress getImmortalPoint()
Getter for property immortalPoint.

Returns:
Value of property immortalPoint.

setPrimary

public void setPrimary(java.net.InetSocketAddress primary)
Setter for property primary.

Parameters:
primary - New value of property primary.

getPrimary

public java.net.InetSocketAddress getPrimary()
Getter for property primary.

Returns:
Value of property primary.


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