|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.epam.admintool.AdminTool
public class AdminTool
Main class for AdminTool Application.
Field Summary | |
---|---|
protected FIXSession |
adminSession
|
protected ICommandHandler |
commandHandler
|
protected String |
commandPackageName
|
protected com.epam.fixengine.manager.ConfiguredSessionRegister |
configuredSessionRegister
|
protected Lock |
lock
|
protected static Log |
LOG
|
Constructor Summary | |
---|---|
AdminTool()
Creates the AdminTool . |
Method Summary | |
---|---|
void |
newFIXSession(FIXSession session)
This method is invoked every time when new FIXSession is created. |
protected void |
sendResponse(String problem,
String code,
Long requestID)
Sends the response. |
void |
setAdminSession(FIXSession adminSession)
Setter for admin session. |
void |
setCommandHandler(ICommandHandler commandHandler)
Setter for command handler. |
void |
setSessionRegister(com.epam.fixengine.manager.ConfiguredSessionRegister configuredSessionRegister)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Log LOG
protected FIXSession adminSession
protected String commandPackageName
protected ICommandHandler commandHandler
protected com.epam.fixengine.manager.ConfiguredSessionRegister configuredSessionRegister
protected Lock lock
Constructor Detail |
---|
public AdminTool()
AdminTool
.
Method Detail |
---|
public void setCommandHandler(ICommandHandler commandHandler)
public void setAdminSession(FIXSession adminSession)
public void setSessionRegister(com.epam.fixengine.manager.ConfiguredSessionRegister configuredSessionRegister)
setSessionRegister
in interface com.epam.fixengine.acceptor.FIXAdminSessionListener
protected void sendResponse(String problem, String code, Long requestID)
problem
- the discriptioncode
- the result coderequestID
- the last request idpublic void newFIXSession(FIXSession session)
FIXServerListener
newFIXSession
in interface FIXServerListener
session
- the new sessionFIXServerListener.newFIXSession(com.epam.fixengine.FIXSession)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |