org.marketcetera.client.brokers
Class BrokerStatus

java.lang.Object
  extended by org.marketcetera.client.brokers.BrokerStatus
All Implemented Interfaces:
Serializable

public class BrokerStatus
extends Object
implements Serializable

The web service representation of a single broker's status.

Since:
1.0.0
Version:
$Id: BrokerStatus.java 16154 2012-07-14 16:34:05Z colin $
Author:
tlerios@marketcetera.com
See Also:
Serialized Form

Constructor Summary
protected BrokerStatus()
          Creates a new status representation.
  BrokerStatus(String name, BrokerID id, boolean loggedOn)
          Creates a new status representation, given the broker information.
 
Method Summary
 BrokerID getId()
          Returns the receiver's broker ID.
 boolean getLoggedOn()
          Returns the receiver's logon flag.
 String getName()
          Returns the receiver's name.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BrokerStatus

public BrokerStatus(String name,
                    BrokerID id,
                    boolean loggedOn)
Creates a new status representation, given the broker information.

Parameters:
name - The broker name.
id - The broker ID.
loggedOn - The logon flag.

BrokerStatus

protected BrokerStatus()
Creates a new status representation. This empty constructor is intended for use by JAXB.

Method Detail

getName

public String getName()
Returns the receiver's name.

Returns:
The name.

getId

public BrokerID getId()
Returns the receiver's broker ID.

Returns:
The ID.

getLoggedOn

public boolean getLoggedOn()
Returns the receiver's logon flag.

Returns:
The flag.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.