|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.agora.simulator.control.AgoraInitiator
public class AgoraInitiator
The Class AgoraInitiator.
Constructor Summary | |
---|---|
AgoraInitiator(java.lang.String conf,
int spread,
double sizeFactor,
java.util.List<java.lang.String> traders)
Instantiates a new agora initiator. |
Method Summary | |
---|---|
void |
addAgoraAcceptor(AgoraAcceptor agoraAcceptor)
Adds the agora acceptor. |
void |
addBlotterListener(BlotterListener blotterListener)
Adds the blotter listener. |
void |
connect()
Connect. |
void |
fromAdmin(quickfix.Message message,
quickfix.SessionID sessionId)
|
void |
fromApp(quickfix.Message message,
quickfix.SessionID sessionId)
|
java.lang.Double |
getAskPx(java.lang.String string)
Gets the ask px. |
java.lang.Double |
getBidPx(java.lang.String string)
Gets the bid px. |
void |
onAcceptorLogon()
On acceptor logon. |
void |
onCreate(quickfix.SessionID sessionId)
|
void |
onLogon(quickfix.SessionID sessionId)
|
void |
onLogout(quickfix.SessionID sessionId)
|
void |
removeAgoraAcceptor(AgoraAcceptor agoraAcceptor)
Removes the agora acceptor. |
void |
toAdmin(quickfix.Message message,
quickfix.SessionID sessionId)
|
void |
toApp(quickfix.Message message,
quickfix.SessionID sessionId)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgoraInitiator(java.lang.String conf, int spread, double sizeFactor, java.util.List<java.lang.String> traders)
conf
- the confspread
- the spreadsizeFactor
- the size factortraders
- the tradersMethod Detail |
---|
public void connect()
public void addBlotterListener(BlotterListener blotterListener)
blotterListener
- the blotter listenerpublic void onCreate(quickfix.SessionID sessionId)
onCreate
in interface quickfix.Application
public void onLogon(quickfix.SessionID sessionId)
onLogon
in interface quickfix.Application
public void onLogout(quickfix.SessionID sessionId)
onLogout
in interface quickfix.Application
public void toAdmin(quickfix.Message message, quickfix.SessionID sessionId)
toAdmin
in interface quickfix.Application
public void fromAdmin(quickfix.Message message, quickfix.SessionID sessionId) throws quickfix.FieldNotFound, quickfix.IncorrectDataFormat, quickfix.IncorrectTagValue, quickfix.RejectLogon
fromAdmin
in interface quickfix.Application
quickfix.FieldNotFound
quickfix.IncorrectDataFormat
quickfix.IncorrectTagValue
quickfix.RejectLogon
public void toApp(quickfix.Message message, quickfix.SessionID sessionId) throws quickfix.DoNotSend
toApp
in interface quickfix.Application
quickfix.DoNotSend
public void fromApp(quickfix.Message message, quickfix.SessionID sessionId) throws quickfix.FieldNotFound, quickfix.IncorrectDataFormat, quickfix.IncorrectTagValue, quickfix.UnsupportedMessageType
fromApp
in interface quickfix.Application
quickfix.FieldNotFound
quickfix.IncorrectDataFormat
quickfix.IncorrectTagValue
quickfix.UnsupportedMessageType
public void addAgoraAcceptor(AgoraAcceptor agoraAcceptor)
agoraAcceptor
- the agora acceptorpublic void removeAgoraAcceptor(AgoraAcceptor agoraAcceptor)
agoraAcceptor
- the agora acceptorpublic void onAcceptorLogon()
public java.lang.Double getBidPx(java.lang.String string)
string
- the string
public java.lang.Double getAskPx(java.lang.String string)
string
- the string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |