dist1.acb.common.transport.concretePackets
Class ResponseCBLsInfo.CBLInfo

java.lang.Object
  extended bydist1.acb.common.transport.concretePackets.ResponseCBLsInfo.CBLInfo
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ResponseCBLsInfo

public static class ResponseCBLsInfo.CBLInfo
extends java.lang.Object
implements java.io.Serializable

Inner class that contains info about one CBL and it is used directly by the Displaying Table in CBLcc

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

Constructor Summary
ResponseCBLsInfo.CBLInfo(CBL cbl, java.lang.Integer connectedUsers)
          Creates a new CBLInfo object.
 
Method Summary
 java.lang.Integer getCblClientPort()
           
 java.lang.String getCblHostName()
          Getter for property cblHostName.
 java.lang.String getCblName()
          Getter for property cblName.
 java.lang.Integer getCblPort()
          Getter for property cblPort.
 java.lang.Byte getCblState()
          Getter for property cblState.
 java.lang.Integer getConnectedUsers()
          Getter for property connectedUsers.
 void setCblHostName(java.lang.String hostName)
          Seter for property cbl.hostName.
 void setCblName(java.lang.String name)
          Seter for property cbl.name.
 void setCblPort(java.lang.Integer port)
          Seter for property cbl.port.
 void setCblState(java.lang.Byte state)
          Seter for property cbl.state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseCBLsInfo.CBLInfo

public ResponseCBLsInfo.CBLInfo(CBL cbl,
                                java.lang.Integer connectedUsers)
                         throws java.lang.CloneNotSupportedException
Creates a new CBLInfo object.

Parameters:
cbl - A CBL
connectedUsers - A number of users connected to the CBL
Throws:
java.lang.CloneNotSupportedException - if the cbl if not clonable
Method Detail

setCblHostName

public void setCblHostName(java.lang.String hostName)
Seter for property cbl.hostName.

Parameters:
hostName - New value

getCblHostName

public java.lang.String getCblHostName()
Getter for property cblHostName.

Returns:
Value of property cblHostName.

getCblClientPort

public java.lang.Integer getCblClientPort()

setCblName

public void setCblName(java.lang.String name)
Seter for property cbl.name.

Parameters:
name - New value

getCblName

public java.lang.String getCblName()
Getter for property cblName.

Returns:
Value of property cblName.

setCblPort

public void setCblPort(java.lang.Integer port)
Seter for property cbl.port.

Parameters:
port - New value

getCblPort

public java.lang.Integer getCblPort()
Getter for property cblPort.

Returns:
Value of property cblPort.

setCblState

public void setCblState(java.lang.Byte state)
Seter for property cbl.state.

Parameters:
state - New value

getCblState

public java.lang.Byte getCblState()
Getter for property cblState.

Returns:
Value of property cblState.

getConnectedUsers

public java.lang.Integer getConnectedUsers()
Getter for property connectedUsers.

Returns:
Value of property connectedUsers.


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