Package org.drip.service.engine
Class ComputeServer
java.lang.Object
org.drip.service.engine.ComputeServer
public class ComputeServer
extends java.lang.Object
ComputeServer contains the Functionality behind the DROP API Compute Service Engine.
- Module = Computational Core Module
- Library = Computation Support
- Project = Environment, Product/Definition Containers, and Scenario/State Manipulation APIs
- Package = Compute Engine Request-Response Thunker
- Author:
- Lakshmi Krishnamurthy
-
Field Summary
Fields Modifier and Type Field Description static int
DRIP_COMPUTE_ENGINE_PORT
The DRIP compute Service Engine Port -
Constructor Summary
Constructors Constructor Description ComputeServer(int iListenerPort)
ComputServer Constructor -
Method Summary
Modifier and Type Method Description boolean
initialize()
Initialize the Compute Server Engine Listener Setupstatic void
main(java.lang.String[] astrArgs)
Entry Pointboolean
spin()
Spin on the Listener Loopstatic ComputeServer
Standard()
Create a Standard Instance of the ComputeServerMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
DRIP_COMPUTE_ENGINE_PORT
public static final int DRIP_COMPUTE_ENGINE_PORTThe DRIP compute Service Engine Port- See Also:
- Constant Field Values
-
-
Constructor Details
-
ComputeServer
public ComputeServer(int iListenerPort) throws java.lang.ExceptionComputServer Constructor- Parameters:
iListenerPort
- The Listener Port- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
Standard
Create a Standard Instance of the ComputeServer- Returns:
- The Standard ComputeServer Instance
-
initialize
public boolean initialize()Initialize the Compute Server Engine Listener Setup- Returns:
- TRUE - The Compute Server Engine Listener Setup
-
spin
public boolean spin()Spin on the Listener Loop- Returns:
- FALSE - Spinning Terminated
-
main
public static final void main(java.lang.String[] astrArgs) throws java.lang.ExceptionEntry Point- Parameters:
astrArgs
- Argument Array- Throws:
java.lang.Exception
- Propagate Exception Encountered
-