com.programix.da2.bridge
Class DABridgeResponse
java.lang.Object
com.programix.da2.bridge.DABridgeResponse
- All Implemented Interfaces:
- Serializable
public class DABridgeResponse
- extends Object
- implements Serializable
This part of the Data Access Bridge system is used to encapsulate
a response from the invocation of a method on a Data Access interface
(both a normal response and exceptions).
See DABridgeProcessor and DABridgeRequest.
- Author:
- Paul Hyde
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DABridgeResponse
public DABridgeResponse(Object result,
byte[] sessionId)
DABridgeResponse
public DABridgeResponse(DABridgeExceptionTransport exceptionWrapper,
byte[] sessionId)
DABridgeResponse
public DABridgeResponse(Exception exception,
byte[] sessionId)
isResult
public boolean isResult()
isException
public boolean isException()
getResult
public Object getResult()
throws DAException
- Throws:
DAException
getException
public Exception getException()
throws DAException
- Throws:
DAException
getSessionId
public byte[] getSessionId()
Copyright © 2001-2009
Programix Incorporated.
All rights reserved.
ProgramixGenericLib is free
and is
OSI Certified
Open Source Software under the BSD
license.