com.resilientedge.jockey.core
Class JockeyServer

java.lang.Object
  |
  +--com.resilientedge.jockey.core.JockeyServer

public class JockeyServer
extends java.lang.Object

Represents a server for Jockey compliant applications

Version:
$Revision: 1.1 $
Author:
John Gardner

Method Summary
 Response doCall(Request req)
          Make a request to the Jockey engine.
 void doVoidCall(Request req)
          Make a request to the Jockey engine which won't receive a response.
static JockeyServer getInstance()
          Returns the singleton instance
 void init()
          Initialize this instance.
 void shutdown()
          Terminate this client instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static JockeyServer getInstance()
Returns the singleton instance
Returns:
the instance value

init

public void init()
Initialize this instance.

doCall

public Response doCall(Request req)
Make a request to the Jockey engine.
Parameters:
req - the request for the engine
Returns:
a response

doVoidCall

public void doVoidCall(Request req)
Make a request to the Jockey engine which won't receive a response.
Parameters:
req - the request for the engine
Returns:
a response

shutdown

public void shutdown()
Terminate this client instance.


Copyright © 2001 Resilient Edge, Inc. All Rights Reserved.