|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGDbReply
A TWGDbReply instance is sent as output parameter 0 in the response to a database store rows command. It contains information about the number of rows and commands processed.
Constructor Summary | |
---|---|
TWGDbReply()
Constructor for the reply |
|
TWGDbReply(byte[] buf)
This method is public as an implementation side effect. |
|
TWGDbReply(int changes,
int commands)
This method is public as an implementation side effect. |
Method Summary | |
---|---|
int |
getCommandsProcessed()
Get number of commands successfully processed. |
protected int |
getIntelByteBufferSize()
This method is protected as an implementation side effect. |
int |
getRowsChanged()
Get number of rows that were changed in the database |
void |
setCommandsProcessed(int commands)
This method is public as an implementation side effect. |
void |
setIntelByteBufferParms(Command cmd)
This method is public as an implementation side effect. |
void |
setRowsChanged(int changes)
This method is public as an implementation side effect. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TWGDbReply(int changes, int commands)
Constructor for the reply
changes
- - number of database rows changedcommands
- - number of database commands successfully processed.public TWGDbReply()
public TWGDbReply(byte[] buf) throws TWGDbException
Constructor for the building the row from an IntelByteBuffer format of the command
buf
- - the reply in IntelByteBufferFormat
-
- TWGDbException thrown for parameter or version errors
TWGDbException
Method Detail |
public void setRowsChanged(int changes)
changes
- - number of database rows changedpublic void setCommandsProcessed(int commands)
commands
- - number of commands completed successfully.public int getCommandsProcessed()
public int getRowsChanged()
public void setIntelByteBufferParms(Command cmd)
cmd
- - the IPC command whose input parameters will be set by this method
-
- TWGDbException thrown for parameter or version errorsprotected int getIntelByteBufferSize()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |