|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread dist1.acb.common.transport.AbstractPersonalManager dist1.acb.CBL.ClientSocket.ClientManager
Client manager
Field Summary |
Fields inherited from class dist1.acb.common.transport.AbstractPersonalManager |
in, log, out, socket |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
ClientSocket.ClientManager(java.net.Socket socket,
java.lang.String name,
java.lang.ThreadGroup group)
Constructor for the ClientSession object |
Method Summary | |
Response |
handleBeginSellTransaction(Request request)
Handler of operation Begin sell transaction |
Response |
handleCloseSession(Request request)
Handrer of request for closing the session |
Response |
handleEndSellTransaction(Request request)
Handler of operation Begin sell transaction |
Response |
handleGetBalance(Request request)
Handler of operation GetBalance |
Response |
handleGetCashFlows(Request request)
Handler of operation GetCashFlows |
Response |
handleGetPeersLocation(Request request)
Handler of operation Get Peers Location |
Response |
handleGetServersList(Request request)
Handler of operation GetServersList |
Response |
handleGetTopics(Request request)
Handler of operation handleGetTopics |
Response |
handleLogin(Request request)
Handrer of request for login (phase 2) |
Response |
handleLoginComminment(Request request)
Handrer of request for login (phase 1) |
Response |
handleMoneyFromAccount(Request request)
Handler of operation MoneyFromAccount |
Response |
handleMoneyToAccount(Request request)
Handler of operation MoneyToAccount |
Response |
handleRegister(Request request)
Handler of operation Register |
Response |
handleRemoveFiles(Request request)
Handler of operation RemoveFiles |
Response |
handleRemoveFiles(java.lang.String login,
RequestUpdate request)
Handler for request RemoveFiles |
Response |
handleSearch(Request request)
Handler of operation Search |
Response |
handleShare(Request request)
Handler of operation Share |
protected HandlersHive |
installDafaultHandlers()
|
protected void |
process()
Main processing method for the PersonalManager object |
Methods inherited from class dist1.acb.common.transport.AbstractPersonalManager |
handlerOfUnknownClass, handlerOfUnknownRequest, receiveRequest, receiveRequest, run, sendResponse, setHandlers, toString |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ClientSocket.ClientManager(java.net.Socket socket, java.lang.String name, java.lang.ThreadGroup group) throws java.io.IOException, java.lang.Throwable
socket
- A socket with connected clientname
- A name of the clientgroup
- A parent
java.io.IOException
- Exception
java.lang.Throwable
- if somthing wrong with SQL DB or socketsMethod Detail |
public Response handleBeginSellTransaction(Request request)
request
- Request
public Response handleCloseSession(Request request)
request
- Request
public Response handleEndSellTransaction(Request request)
request
- Request
public Response handleGetBalance(Request request)
request
- Request
public Response handleGetCashFlows(Request request)
request
- Request
public Response handleGetPeersLocation(Request request)
request
- Request
public Response handleGetServersList(Request request)
request
- Request
public Response handleGetTopics(Request request)
request
- Request
public Response handleLogin(Request request)
request
- Request
public Response handleLoginComminment(Request request)
request
- Request
public Response handleMoneyFromAccount(Request request)
request
- Request
public Response handleMoneyToAccount(Request request)
request
- Request
public Response handleRegister(Request request)
request
- Request
public Response handleRemoveFiles(Request request)
request
- Request
public Response handleRemoveFiles(java.lang.String login, RequestUpdate request)
login
- Urer's loginrequest
- The request
public Response handleSearch(Request request)
request
- Request
public Response handleShare(Request request)
request
- Request
protected HandlersHive installDafaultHandlers()
installDafaultHandlers
in class AbstractPersonalManager
protected void process()
AbstractPersonalManager
process
in class AbstractPersonalManager
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |