com.cosylab.epics.caj.cas.requests
Class ExceptionRequest

java.lang.Object
  extended by com.cosylab.epics.caj.impl.requests.AbstractCARequest
      extended by 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
ExceptionRequest(Transport transport, int cid, gov.aps.jca.CAStatus errorCode, ByteBuffer previousHeader, String errorMessage)
           
 
Method Summary
 byte getPriority()
          Return default priority.
 
Methods inherited from class com.cosylab.epics.caj.impl.requests.AbstractCARequest
alignBuffer, calculateAlignedSize, generateRequestMessage, getRequestMessage, insertCAHeader, submit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionRequest

public ExceptionRequest(Transport transport,
                        int cid,
                        gov.aps.jca.CAStatus errorCode,
                        ByteBuffer previousHeader,
                        String errorMessage)
Parameters:
transport -
Method Detail

getPriority

public byte getPriority()
Description copied from class: AbstractCARequest
Return default priority.

Specified by:
getPriority in interface Request
Overrides:
getPriority in class AbstractCARequest
Returns:
request priority.
See Also:
Request.getPriority()


Copyright © 2004-2013 Cosylab. All Rights Reserved.