|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dist1.acb.CBLcc.BusinessLogic
Business Logic of the Admin Tool
Method Summary | |
void |
addSelectedCBL(java.lang.String hostName,
java.lang.String addr,
java.lang.Integer port)
|
void |
closeSessionWithServer()
DOCUMENT ME! |
java.lang.String |
getAdminLogin()
Getter for property adminLogin. |
Signal |
getConnectionWaiter()
Getter for property connectionWaiter. |
CBLcc |
getGui()
Getter for property gui. |
static BusinessLogic |
getInstance()
DOCUMENT ME! |
java.lang.String |
getPassword()
Getter for property password. |
java.lang.ThreadGroup |
getRootThreadGroup()
DOCUMENT ME! |
Signal |
getShutdownWaiter()
Getter for property shutdownWaiter. |
int |
getUpdateRow()
Getter for property updateRow. |
boolean |
isAddingNewCBL()
Getter for property addingNewCBL. |
boolean |
isLoginSuccessfull()
Getter for property loginSuccessfull. |
boolean |
isOnLine()
Getter for property onLine. |
void |
loginUser(java.lang.String pass)
DOCUMENT ME! |
java.lang.String |
refreshLogFile(java.lang.String serverAddress)
|
void |
rejoinSelectedCBL(java.lang.String addr)
|
void |
removeSelectedCBL(java.lang.String cblName)
|
void |
retreiveLogTable(long logId)
|
void |
retrieveCBLsTable()
|
void |
run()
The main controller of the entire CBL control center |
void |
setAddingNewCBL(boolean addingNewCBL)
Setter for property addingNewCBL. |
void |
setAdminLogin(java.lang.String adminLogin)
Setter for property adminLogin. |
void |
setConnectionWaiter()
Setter for property connectionWaiter. |
void |
setGui(CBLcc gui)
Setter for property gui. |
void |
setLoginSuccessfull(boolean loginSuccessfull)
Setter for property loginSuccessfull. |
void |
setOnLine(boolean onLine)
Setter for property onLine. |
void |
setPassword(java.lang.String password)
Setter for property password. |
void |
setShutdownWaiter(Signal shutdownWaiter)
Setter for property shutdownWaiter. |
void |
setUpdateRow(int updateRow)
Setter for property updateRow. |
void |
shutdownApplicaton(java.lang.String source,
java.lang.String reason)
Invoked by outside serveices in order to shutdown the application |
void |
shutdownSelectedCBL(java.lang.String addr,
java.lang.Integer port)
|
void |
viewLogFileSelectedCBL(java.lang.String addr,
java.lang.String hostName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static BusinessLogic getInstance()
public java.lang.ThreadGroup getRootThreadGroup()
public void closeSessionWithServer()
public void removeSelectedCBL(java.lang.String cblName)
public void loginUser(java.lang.String pass) throws java.lang.Throwable
pass
- DOCUMENT ME!
java.lang.Throwable
- DOCUMENT ME!
java.lang.RuntimeException
- DOCUMENT ME!public void run()
public void shutdownApplicaton(java.lang.String source, java.lang.String reason)
source
- Initiator of shutdowningreason
- A reasonpublic void addSelectedCBL(java.lang.String hostName, java.lang.String addr, java.lang.Integer port)
public void retrieveCBLsTable()
public void retreiveLogTable(long logId)
public void shutdownSelectedCBL(java.lang.String addr, java.lang.Integer port)
public java.lang.String refreshLogFile(java.lang.String serverAddress)
public void viewLogFileSelectedCBL(java.lang.String addr, java.lang.String hostName)
public void rejoinSelectedCBL(java.lang.String addr)
public CBLcc getGui()
public void setGui(CBLcc gui)
gui
- New value of property gui.public boolean isLoginSuccessfull()
public void setLoginSuccessfull(boolean loginSuccessfull)
loginSuccessfull
- New value of property loginSuccessfull.public boolean isOnLine()
public void setOnLine(boolean onLine)
onLine
- New value of property onLine.public Signal getConnectionWaiter()
public void setConnectionWaiter()
public Signal getShutdownWaiter()
public void setShutdownWaiter(Signal shutdownWaiter)
shutdownWaiter
- New value of property shutdownWaiter.public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- New value of property password.public boolean isAddingNewCBL()
public void setAddingNewCBL(boolean addingNewCBL)
addingNewCBL
- New value of property addingNewCBL.public int getUpdateRow()
public void setUpdateRow(int updateRow)
updateRow
- New value of property updateRow.public java.lang.String getAdminLogin()
public void setAdminLogin(java.lang.String adminLogin)
adminLogin
- New value of property adminLogin.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |