public class MFAdmin extends MFClient
MFClient.TimeStats| Constructor and Description |
|---|
MFAdmin(MFString _username,
MFString _password,
MFString _hostname1,
int _port1)
Create a new admin object.
|
MFAdmin(MFString _username,
MFString _password,
MFString _hostname1,
int _port1,
MFString _hostname2,
int _port2)
Create a new admin object (with failover).
|
| Modifier and Type | Method and Description |
|---|---|
static MFAdmin |
open(MFString user,
MFString pass,
MFString host,
int port)
A convenience method which creates a new client object, attempts to
connect to Whisperer, and cleans up and throws an exception if we could
not connect.
|
static MFAdmin |
open(MFString user,
MFString pass,
MFString _hostname1,
int _port1,
MFString _hostname2,
int _port2)
A convenience method which creates a new client object, attempts to
connect to Whisperer, and cleans up and throws an exception if we could
not connect.
|
APIResult |
run(MFAdminHandler handler)
Run a loop that will continuously dispatch incoming messages to a
_handler implementation.
|
APIResult |
run(MFHandler _handler)
Run a loop that will continuously dispatch incoming messages to a
_handler implementation.
|
allowClientsToConnect, cancelAll, cancelAll, cancelOrder, cancelOrder, cancelOrder, close, connect, enableDebugMetrics, getCurrentBatchID, getCurrentBatchMarkets, getFeedByID, getFeedByName, getFeeds, getHostname, getLastPingTimes, getMarketByID, getMarketByName, getPort, getSequenceID, getSignature, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, isConnected, isRunning, join, lockUser, modifyOrder, processEvents, registerMarketComb, replay, requestSnapshot, setDebug, setStickySubscriptions, setStickySubscriptions, setUseHeartbeat, stop, submitOrder, submitOrder, submitOrder, submitOrder, subscribeAllMD, subscribeMD, subscribeMD, subscribeOF, subscribeOF, unregisterMarketComb, unsubscribeAll, unsubscribeMD, unsubscribeMD, unsubscribeOF, unsubscribeOFpublic MFAdmin(MFString _username, MFString _password, MFString _hostname1, int _port1)
public APIResult run(MFHandler _handler)
MFClientpublic APIResult run(MFAdminHandler handler)
public static MFAdmin open(MFString user, MFString pass, MFString host, int port) throws java.io.IOException
java.io.IOExceptionpublic static MFAdmin open(MFString user, MFString pass, MFString _hostname1, int _port1, MFString _hostname2, int _port2) throws java.io.IOException
user - pass - _hostname1 - _port1 - _hostname2 - _port2 - java.io.IOException