Class ExceptionRequest
- java.lang.Object
-
- com.cosylab.epics.caj.impl.requests.AbstractCARequest
-
- com.cosylab.epics.caj.cas.requests.ExceptionRequest
-
- All Implemented Interfaces:
Request
public class ExceptionRequest extends AbstractCARequest
CA exception (error) response. NOTE: extended header not supported (error messages are not so long).- Version:
- $id$
- Author:
- Matej Sekoranja
-
-
Field Summary
-
Fields inherited from class com.cosylab.epics.caj.impl.requests.AbstractCARequest
requestMessage, transport
-
Fields inherited from interface com.cosylab.epics.caj.impl.Request
DEFAULT_USER_PRIORITY, MAX_USER_PRIORITY, MIN_USER_PRIORITY, SEND_IMMEDIATELY_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description ExceptionRequest(Transport transport, int cid, CAStatus errorCode, ByteBuffer previousHeader, String errorMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetPriority()Return default priority.-
Methods inherited from class com.cosylab.epics.caj.impl.requests.AbstractCARequest
alignBuffer, calculateAlignedSize, generateRequestMessage, getRequestMessage, insertCAHeader, submit
-
-
-
-
Constructor Detail
-
ExceptionRequest
public ExceptionRequest(Transport transport, int cid, CAStatus errorCode, ByteBuffer previousHeader, String errorMessage)
- Parameters:
transport- to be used when sending.cid- channel iderrorCode- CAStatuspreviousHeader- previous headererrorMessage- error message
-
-
Method Detail
-
getPriority
public byte getPriority()
Description copied from class:AbstractCARequestReturn default priority.- Specified by:
getPriorityin interfaceRequest- Overrides:
getPriorityin classAbstractCARequest- Returns:
- request priority.
- See Also:
Request.getPriority()
-
-