com.jfx.net
Class JFXServer

java.lang.Object
  extended by com.jfx.net.JFXServer

public class JFXServer
extends java.lang.Object

JFXServer accepts MT4 Terminals connections, one should define system properties 'jfx_server_host' and 'jfx_server_port' for JFXServer binding (127.0.0.1:7777 is used by default).


Field Summary
 java.util.concurrent.ExecutorService executorService
           
static java.lang.String LOGGING_CONFIG_XML
           
 java.util.concurrent.ScheduledExecutorService scheduleService
           
 
Constructor Summary
JFXServer(java.lang.String host, int port)
           
 
Method Summary
 java.lang.String getBindHost()
           
 int getBindPort()
           
 java.util.concurrent.ExecutorService getExecutorService()
           
static JFXServer getInstance()
           
 int getNextIncomingConnectionID()
           
static void main(java.lang.String[] args)
           
static void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

executorService

public final java.util.concurrent.ExecutorService executorService

scheduleService

public final java.util.concurrent.ScheduledExecutorService scheduleService

LOGGING_CONFIG_XML

public static final java.lang.String LOGGING_CONFIG_XML
Constructor Detail

JFXServer

public JFXServer(java.lang.String host,
                 int port)
Method Detail

getInstance

public static JFXServer getInstance()

getExecutorService

public java.util.concurrent.ExecutorService getExecutorService()

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException

getBindHost

public java.lang.String getBindHost()

getBindPort

public int getBindPort()

getNextIncomingConnectionID

public int getNextIncomingConnectionID()

stop

public static void stop()


Copyright © 2008-2009 Roman Gerasimenko.