Class CDORemoteSessionRequest
java.lang.Object
org.eclipse.emf.cdo.session.remote.CDORemoteSessionRequest
- Since:
- 4.17
- Author:
- Eike Stepper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHandles incomingrequestsin the context of allglobally registeredsessions and optionally sends back responsemessages.static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BiConsumer<String,Throwable> onException(BiConsumer<String, Throwable> exceptionHandler) onResponse(Consumer<byte[]> responseConsumer) voidsend(CDORemoteSession recipient) voidsendSynchronous(CDORemoteSession recipient) static voidsetDefaultExceptionHandler(BiConsumer<String, Throwable> defaultExceptionHandler) static voidsetDefaultTimeoutHandler(Consumer<String> defaultTimeoutHandler) longtimeout()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
-