public class AgentGate<A extends AsyncAgent> extends java.lang.Object implements ClientObject<ClientContext>
AsyncAgent is received.| Modifier and Type | Method and Description |
|---|---|
protected boolean |
acceptAgent(A agent) |
A |
awaitAgentFinished() |
A |
awaitAgentFinished(long millis,
java.util.concurrent.TimeUnit unit) |
void |
awaitAgentStarted(long millis,
java.util.concurrent.TimeUnit unit) |
ClientContext |
getClientContext()
Returns the the client runtime environment
|
public AgentGate(A agent)
public ClientContext getClientContext()
ClientObjectgetClientContext in interface ClientObject<ClientContext>public void awaitAgentStarted(long millis,
java.util.concurrent.TimeUnit unit)
throws java.lang.InterruptedException,
java.util.concurrent.TimeoutException
java.lang.InterruptedExceptionjava.util.concurrent.TimeoutExceptionpublic A awaitAgentFinished(long millis, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
java.lang.InterruptedExceptionjava.util.concurrent.TimeoutExceptionpublic A awaitAgentFinished() throws java.lang.InterruptedException
java.lang.InterruptedExceptionprotected boolean acceptAgent(A agent)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.