examples.cluster.ejb.teller
Class TellerResult
java.lang.Object
|
+--examples.cluster.ejb.teller.TellerResult
- All Implemented Interfaces:
- java.io.Serializable
- public final class TellerResult
- extends java.lang.Object
- implements java.io.Serializable
This class reflects the results of a deposit, withdrawal, or transfer transaction.
Results are for account 1, account 2, and the server the teller was on.
- Author:
- Copyright (c) 1999-2000 by BEA Systems, Inc. All Rights Reserved.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
account1Result
public AccountResult account1Result
account2Result
public AccountResult account2Result
tellerServer
public java.lang.String tellerServer
TellerResult
public TellerResult()
- Creates a new TellerResult object.
TellerResult
public TellerResult(java.lang.String tellerServer,
AccountResult accountResult)
- Creates a new TellerResult object.
- Parameters:
tellerServer
- String Teller server name (the Cluster member)account1Result
- AccountResult account 1 result
TellerResult
public TellerResult(java.lang.String tellerServer,
AccountResult account1Result,
AccountResult account2Result)
- Creates a new TellerResult object.
- Parameters:
tellerServer
- String Teller server name (the Cluster member)account1Result
- AccountResult account 1 resultaccount2Result
- AccountResult account 2 result
getAccount1Result
public AccountResult getAccount1Result()
- Returns the results for account 1
in an AccountResult object.
- Returns:
- AccountResult Results for account 1
getAccount2Result
public AccountResult getAccount2Result()
- Returns the results for account 2
in an AccountResult object.
- Returns:
- AccountResult Results for account 2
getTellerServer
public java.lang.String getTellerServer()
- Returns the teller server name.
- Returns:
- String Teller server name
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.