Package org.eclipse.net4j.signal
Class EntityRequest
- All Implemented Interfaces:
Runnable
,org.eclipse.net4j.util.container.IManagedContainerProvider
- Since:
- 4.20
- Author:
- Eike Stepper
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
Fields inherited from class org.eclipse.net4j.signal.Signal
NO_TIMEOUT
-
Constructor Summary
ConstructorDescriptionEntityRequest
(SignalProtocol<?> protocol, BiConsumer<String, org.eclipse.net4j.util.collection.Entity> entityHandler, String namespace, String... names) -
Method Summary
Modifier and TypeMethodDescriptionprotected Integer
confirming
(org.eclipse.net4j.util.io.ExtendedDataInputStream in) Important Note: The confirmation must not be empty, i.e.protected String
protected org.eclipse.net4j.util.io.StringCompressor
protected void
requesting
(org.eclipse.net4j.util.io.ExtendedDataOutputStream out) Methods inherited from class org.eclipse.net4j.signal.RequestWithConfirmation
getAsyncExecutorService, onRemoteException, send, send, sendAsync
Methods inherited from class org.eclipse.net4j.signal.SignalActor
execute
Methods inherited from class org.eclipse.net4j.signal.Signal
closeChannelAfterMe, closeInputStreamAfterMe, closeOutputStreamAfterMe, finishInputStream, finishOutputStream, flush, getBufferInputStream, getBufferOutputStream, getContainer, getCorrelationID, getCurrentInputStream, getCurrentOutputStream, getID, getName, getProtocol, handleRunException, run, toString, toString, wrapInputStream, wrapOutputStream
-
Field Details
-
OPCODE_QUERY_ENTITIES_BY_NAMES
public static final int OPCODE_QUERY_ENTITIES_BY_NAMES- See Also:
-
ERROR_NO_PROVIDER
public static final int ERROR_NO_PROVIDER- See Also:
-
ERROR_ILLEGAL_OPCODE
public static final int ERROR_ILLEGAL_OPCODE- See Also:
-
-
Constructor Details
-
EntityRequest
public EntityRequest(SignalProtocol<?> protocol, BiConsumer<String, org.eclipse.net4j.util.collection.Entity> entityHandler, String namespace, String... names)
-
-
Method Details
-
requesting
- Specified by:
requesting
in classRequestWithConfirmation<Integer>
- Throws:
Exception
-
confirming
Description copied from class:RequestWithConfirmation
Important Note: The confirmation must not be empty, i.e. the stream must be used at least to read aboolean
. Otherwise synchronization problems will result!- Specified by:
confirming
in classRequestWithConfirmation<Integer>
- Throws:
Exception
-
getStringCompressor
protected org.eclipse.net4j.util.io.StringCompressor getStringCompressor() -
getAdditionalInfo
- Overrides:
getAdditionalInfo
in classSignal
-