Package com.cosylab.epics.caj.impl
Interface Request
-
- All Known Implementing Classes:
AbstractCARequest,AccessRightsRequest,BeaconRequest,CAJNameClient,ClearChannelRequest,ClearChannelRequest,CreateChannelFailedRequest,CreateChannelRequest,CreateChannelRequest,EchoRequest,EchoRequest,EventAddRequest,EventAddRequest,EventCancelRequest,EventCancelRequest,EventsOffRequest,EventsOnRequest,ExceptionRequest,HostNameRequest,ReadNotifyRequest,ReadNotifyRequest,RepeaterRegisterRequest,SearchFailedRequest,SearchRequest,SearchRequest,SubscriptionUpdateRequest,UserNameRequest,VersionRequest,WriteNotifyRequest,WriteNotifyRequest,WriteRequest
public interface RequestInterface defining request to be sent viaTransport.- Version:
- $id$
- Author:
- Matej Sekoranja
-
-
Field Summary
Fields Modifier and Type Field Description static shortDEFAULT_USER_PRIORITYDefault (recommended) user message priority.static shortMAX_USER_PRIORITYMaximum user message priority.static shortMIN_USER_PRIORITYMinimum user message priority.static shortSEND_IMMEDIATELY_PRIORITYHighest priority, message is sent immediately.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description bytegetPriority()Get request priority, higher view higher priority.ByteBuffergetRequestMessage()Get request message to be sent.voidsubmit()Submit this request message to the corresponding transport.
-
-
-
Field Detail
-
SEND_IMMEDIATELY_PRIORITY
static final short SEND_IMMEDIATELY_PRIORITY
Highest priority, message is sent immediately.- See Also:
- Constant Field Values
-
MAX_USER_PRIORITY
static final short MAX_USER_PRIORITY
Maximum user message priority.- See Also:
- Constant Field Values
-
MIN_USER_PRIORITY
static final short MIN_USER_PRIORITY
Minimum user message priority.- See Also:
- Constant Field Values
-
DEFAULT_USER_PRIORITY
static final short DEFAULT_USER_PRIORITY
Default (recommended) user message priority.- See Also:
- Constant Field Values
-
-
Method Detail
-
getPriority
byte getPriority()
Get request priority, higher view higher priority.- Returns:
- request priority.
-
getRequestMessage
ByteBuffer getRequestMessage()
Get request message to be sent.- Returns:
- request message to be sent.
-
submit
void submit() throws IOExceptionSubmit this request message to the corresponding transport.- Throws:
IOException
-
-