Class CDORemoteSessionRequest
java.lang.Object
org.eclipse.emf.cdo.session.remote.CDORemoteSessionRequest
An asynchronous request to a
remote session
.- Since:
- 4.17
- Author:
- Eike Stepper
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BiConsumer<String,
Throwable> onException
(BiConsumer<String, Throwable> exceptionHandler) onResponse
(Consumer<byte[]> responseConsumer) void
send
(CDORemoteSession recipient) void
sendSynchronous
(CDORemoteSession recipient) static void
setDefaultExceptionHandler
(BiConsumer<String, Throwable> defaultExceptionHandler) static void
setDefaultTimeoutHandler
(Consumer<String> defaultTimeoutHandler) long
timeout()
timeout
(long timeout)
-
Field Details
-
DEFAULT_TIMEOUT
public static final long DEFAULT_TIMEOUT
-
-
Constructor Details
-
CDORemoteSessionRequest
-
CDORemoteSessionRequest
-
-
Method Details
-
timeout
public long timeout() -
timeout
-
onTimeout
-
onException
-
onResponse
-
send
-
sendSynchronous
-
getDefaultTimeoutHandler
-
setDefaultTimeoutHandler
-
getDefaultExceptionHandler
-
setDefaultExceptionHandler
-