com.oakgrovesystems.reactor.client
Class TestReactorProxy
java.lang.Object
|
+--com.oakgrovesystems.reactor.client.AbstractReactorProxy
|
+--com.oakgrovesystems.reactor.client.TestReactorProxy
- All Implemented Interfaces:
- ReactorProxy
- public class TestReactorProxy
- extends AbstractReactorProxy
Method Summary |
void |
addRequest(java.lang.Class requestClass,
com.oakgrovesystems.reactor.ReactorResponse response)
|
java.lang.String |
getAuthToken()
Gets the authentication token that this proxy is using to talk to server |
boolean |
getDebug()
|
protected void |
log(com.oakgrovesystems.reactor.requests.ReactorRequest request)
|
protected void |
log(com.oakgrovesystems.reactor.ReactorResponse response)
|
protected com.oakgrovesystems.reactor.ReactorResponse |
sendRequest(com.oakgrovesystems.reactor.requests.ReactorRequest request)
Sends request to the server. |
void |
setAuthToken(java.lang.String authToken)
Sets the authentication token that proxy will use to talk to server |
void |
setDebug(boolean debugFlag)
|
protected java.lang.String |
shortName(java.lang.Class c)
|
Methods inherited from class com.oakgrovesystems.reactor.client.AbstractReactorProxy |
addStatusToProcess, addStatusToProcess, addStatusToProcess, cloneInstance, cloneInstance, cloneInstance, cloneInstance, cloneInstance, cloneInstance, createObjects, createObjects, delete, delete, delete, delete, get, get, get, get, handleRequest, lock, lock, lock, lock, lock, lock, lock, lock, login, logout, query, removeStatusFromProcess, removeStatusFromProcess, removeStatusFromProcess, setACLOnObject, setACLOnObject, setObjects, setObjects, startProcess, startProcess, startProcess, stopProcess, stopProcess, stopProcess, unlock, unlock, unlock, unlock, unlock, unlock, unlock, unlock |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
protected boolean debug
requestQueue
protected java.util.List requestQueue
responseQueue
protected java.util.List responseQueue
authToken
protected java.lang.String authToken
TestReactorProxy
public TestReactorProxy()
TestReactorProxy
public TestReactorProxy(boolean debugFlag)
setDebug
public void setDebug(boolean debugFlag)
getDebug
public boolean getDebug()
addRequest
public void addRequest(java.lang.Class requestClass,
com.oakgrovesystems.reactor.ReactorResponse response)
log
protected void log(com.oakgrovesystems.reactor.requests.ReactorRequest request)
log
protected void log(com.oakgrovesystems.reactor.ReactorResponse response)
shortName
protected java.lang.String shortName(java.lang.Class c)
sendRequest
protected com.oakgrovesystems.reactor.ReactorResponse sendRequest(com.oakgrovesystems.reactor.requests.ReactorRequest request)
- Description copied from class:
AbstractReactorProxy
- Sends request to the server.
- Specified by:
sendRequest
in class AbstractReactorProxy
setAuthToken
public void setAuthToken(java.lang.String authToken)
- Description copied from class:
AbstractReactorProxy
- Sets the authentication token that proxy will use to talk to server
- Specified by:
setAuthToken
in interface ReactorProxy
- Overrides:
setAuthToken
in class AbstractReactorProxy
- Parameters:
authToken
- the authentication token
getAuthToken
public java.lang.String getAuthToken()
- Description copied from class:
AbstractReactorProxy
- Gets the authentication token that this proxy is using to talk to server
- Specified by:
getAuthToken
in interface ReactorProxy
- Overrides:
getAuthToken
in class AbstractReactorProxy
- Returns:
- the authentication token
Copyright (c) 1999-2004 Oak Grove Systems. All Rights Reserved.