|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.epam.admintool.commands.Command
public abstract class Command
Common interface for all command of Administrative tool.
| Field Summary | |
|---|---|
protected FIXSession |
adminFixSession
|
protected com.epam.fixengine.manager.ConfiguredSessionRegister |
configuredSessionRegister
|
protected Log |
log
|
protected com.epam.fixicc.message.Request |
request
|
protected com.epam.fixicc.message.ResponseData |
response
|
protected String |
xmlContent
|
| Constructor Summary | |
|---|---|
Command()
|
|
| Method Summary | |
|---|---|
abstract void |
execute()
Execute command. |
FIXSession |
getAdminFixSession()
getter for admin fix session. |
protected SessionParameters |
getConfiguredSession(String sessionID)
Gets the fix session. |
protected SessionParameters |
getConfiguredSession(String senderCompID,
String targetCompID,
String qualifier)
Gets the configured fix session. |
protected List<SessionParameters> |
getConfiguredSessionParameters()
Gets the configured fix session list. |
com.epam.fixengine.manager.ConfiguredSessionRegister |
getConfiguredSessionRegister()
|
protected ExtendedFIXSession |
getFIXSession(String sessionID)
Gets the fix session. |
protected ExtendedFIXSession |
getFIXSession(String sender,
String target,
String qualifier)
Gets the fix session. |
protected List<ExtendedFIXSession> |
getFIXSessions()
Gets fix session list. |
com.epam.fixicc.message.Request |
getRequest()
Getter for request. |
Long |
getRequestID()
Gets request id from request. |
void |
sendError(String problem)
Send error. |
protected void |
sendInvalidArgument(String problem)
Send invalid argument. |
protected void |
sendReject(String problem)
Send reject. |
protected void |
sendResponse(com.epam.fixicc.message.Response response)
Send response. |
protected void |
sendResponse(String problem,
String errorCode)
Send response. |
void |
sendResponseSuccess(com.epam.fixicc.message.Response response)
Send response. |
protected void |
sendUnknownSession(String id)
Send error with unknown session. |
protected void |
sendUnknownSession(String sender,
String target)
Deprecated. |
void |
setAdminFixSession(FIXSession adminFixSession)
Setter for admin session. |
void |
setConfiguredSessionRegister(com.epam.fixengine.manager.ConfiguredSessionRegister configuredSessionRegister)
|
void |
setRequest(com.epam.fixicc.message.Request request)
Setter for request. |
void |
setXmlContent(String xmlContent)
Setter for xmlContent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Log log
protected com.epam.fixicc.message.Request request
protected com.epam.fixicc.message.ResponseData response
protected String xmlContent
protected FIXSession adminFixSession
protected com.epam.fixengine.manager.ConfiguredSessionRegister configuredSessionRegister
| Constructor Detail |
|---|
public Command()
| Method Detail |
|---|
public com.epam.fixicc.message.Request getRequest()
public void setRequest(com.epam.fixicc.message.Request request)
request - the requestpublic Long getRequestID()
public void setAdminFixSession(FIXSession adminFixSession)
adminFixSession - the admin sessionpublic FIXSession getAdminFixSession()
public void setConfiguredSessionRegister(com.epam.fixengine.manager.ConfiguredSessionRegister configuredSessionRegister)
public com.epam.fixengine.manager.ConfiguredSessionRegister getConfiguredSessionRegister()
public abstract void execute()
protected void sendResponse(com.epam.fixicc.message.Response response)
response - public void sendResponseSuccess(com.epam.fixicc.message.Response response)
response -
protected void sendResponse(String problem,
String errorCode)
problem - errorCode - protected void sendReject(String problem)
problem - public void sendError(String problem)
problem - protected void sendInvalidArgument(String problem)
problem -
@Deprecated
protected void sendUnknownSession(String sender,
String target)
protected void sendUnknownSession(String id)
public void setXmlContent(String xmlContent)
protected ExtendedFIXSession getFIXSession(String sender,
String target,
String qualifier)
sender - - sendertarget - - targetqualifier - - qualifierprotected ExtendedFIXSession getFIXSession(String sessionID)
sessionID - - sessionID
protected SessionParameters getConfiguredSession(String senderCompID,
String targetCompID,
String qualifier)
senderCompID - - sendertargetCompID - - targetqualifier - - qualifierprotected SessionParameters getConfiguredSession(String sessionID)
sessionID - - sessionIDprotected List<ExtendedFIXSession> getFIXSessions()
protected List<SessionParameters> getConfiguredSessionParameters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||