Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.0 ()
: Class RealMessage (RealSQL-JDBC) (realmessage.html)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.northgateis.reality.realsql.RealMessage
Wrapper class for the DDAMsg object generated when receiving data from the Reality Server.
Constructor Summary | |
RealMessage(com.northgateis.comms.dda.DDAMsg msg)
Initialises a new RealMessage object. |
Method Summary | |
protected int | getAccessPlan() Get the AccessPlan for this particular message. |
protected byte[] | getData(int value) Get the data buffer for the last operation performed on the Reality Server. |
protected int | getNumAttributes() Get the number of attributes for this particular message. |
protected int | getRowCount() Get the number of rows affected by a previous update statement. |
protected int | getServerCode() Get the server code for the last operation performed on the Reality Server. |
protected java.lang.String | getServerMessage() Get the server message for the last operation performed on the Reality Server, if one exists. |
protected int | result() Get result code of the last operation performed on the Reality Server. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public RealMessage(com.northgateis.comms.dda.DDAMsg msg) throws RealSQLException
msg
- DDAMsg object.Method Detail |
protected int result() throws RealSQLException
This maybe one of the following codes:
SQL_SUCCESS
SQL_SUCCESS_WITH_INFO
SQL_ERROR
SQL_NO_DATA_FOUND
protected int getServerCode() throws RealSQLException
This is normally only set if the last operation returned SQL_ERROR
protected java.lang.String getServerMessage() throws RealSQLException
This is normally only set if the last operation returned SQL_ERROR
protected byte[] getData(int value)
if value
is zero then the complete data buffer is returned,
if value
is greater than zero then that AM delimited
segment is returned.
value
- segment to be returned.protected int getAccessPlan()
protected int getRowCount()
protected int getNumAttributes()
The default attribute delimiter is a Reality Attribute Mark (AM).
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |