com.cosylab.epics.caj.impl.handlers
Class ExceptionResponse
java.lang.Object
com.cosylab.epics.caj.impl.handlers.AbstractCAResponseHandler
com.cosylab.epics.caj.impl.handlers.AbstractCAJResponseHandler
com.cosylab.epics.caj.impl.handlers.ExceptionResponse
- All Implemented Interfaces:
- ExceptionHandler, ResponseHandler
public class ExceptionResponse
- extends AbstractCAJResponseHandler
- implements ExceptionHandler
- Version:
- $id$
- Author:
- Matej Sekoranja
|
Field Summary |
protected boolean |
debug
Debug flag. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
protected boolean debug
- Debug flag.
ExceptionResponse
public ExceptionResponse(CAJContext context)
- Parameters:
context -
internalHandleResponse
protected void internalHandleResponse(InetSocketAddress responseFrom,
Transport transport,
ByteBuffer[] response)
- Description copied from class:
AbstractCAResponseHandler
- Called after header is parsed by
parseHeader() method.
- Specified by:
internalHandleResponse in class AbstractCAResponseHandler
- See Also:
AbstractCAResponseHandler.internalHandleResponse(java.net.InetSocketAddress, com.cosylab.epics.caj.impl.Transport, java.nio.ByteBuffer[])
handleException
public void handleException(int errorCode,
int cid,
String errorMessage,
ByteBuffer originalHeaderBuffer)
- Description copied from interface:
ExceptionHandler
- Exception response notification.
- Specified by:
handleException in interface ExceptionHandler
- Parameters:
errorCode - exception code.cid - channel ID, can me 0.errorMessage - received detailed message.originalHeaderBuffer - original request header buffer causing this exception.- See Also:
ExceptionHandler.handleException(int, int, java.lang.String, java.nio.ByteBuffer)
Copyright © 2004-2013 Cosylab. All Rights Reserved.