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. It provides
the following Functions:
- The DRIP compute Service Engine Port
- Create a Standard Instance of the ComputeServer
- ComputeServer Constructor
- Initialize the Compute Server Engine Listener Setup
- Spin on the Listener Loop
- Entry Point
| 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 intDRIP_COMPUTE_ENGINE_PORTThe DRIP compute Service Engine Port -
Constructor Summary
Constructors Constructor Description ComputeServer(int listenerPort)ComputeServer Constructor -
Method Summary
Modifier and Type Method Description booleaninitialize()Initialize the Compute Server Engine Listener Setupstatic voidmain(java.lang.String[] argumentArray)Entry Pointbooleanspin()Spin on the Listener Loopstatic ComputeServerStandard()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 listenerPort) throws java.lang.ExceptionComputeServer Constructor- Parameters:
listenerPort- 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[] argumentArray) throws java.lang.ExceptionEntry Point- Parameters:
argumentArray- Argument Array- Throws:
java.lang.Exception- Propagate Exception Encountered
-