com.dxfeed.ipf.services
Class InstrumentProfileService

java.lang.Object
  extended by com.dxfeed.ipf.services.InstrumentProfileService
All Implemented Interfaces:
java.lang.Runnable

public class InstrumentProfileService
extends java.lang.Object
implements java.lang.Runnable

A service that publishes instrument profiles over network.


Method Summary
 void run()
           
static void startService(InstrumentProfileProvider provider, int port)
          Starts new instance of the service for specified provider and server socket port number.
static void startService(InstrumentProfileProvider provider, int port, java.lang.String transformFile)
          Starts new instance of the service for specified provider, server socket port number and transform file name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

startService

public static void startService(InstrumentProfileProvider provider,
                                int port)
Starts new instance of the service for specified provider and server socket port number.


startService

public static void startService(InstrumentProfileProvider provider,
                                int port,
                                java.lang.String transformFile)
Starts new instance of the service for specified provider, server socket port number and transform file name. The transform file is re-read and applied to instrument profiles each time when new socket is accepted.


run

public void run()
Specified by:
run in interface java.lang.Runnable