|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.altair.hwm.database.sql.protocol.DBBatchSQLReplyPacket
public class DBBatchSQLReplyPacket
Title: DBBatchSQLReplyPacket
Description: This class represents the reply packet sent to the server when more than one reply packets are present. This can be used to retrieve the auto id when data is inserted into a table.
Company: Altair Engineering, Inc.
Constructor Summary | |
---|---|
DBBatchSQLReplyPacket()
Constructor |
Method Summary | |
---|---|
void |
AddReply(DBSQLReplyPacket dmReplyPck)
Adds DBSQLReplyPacket in to the list of replies |
DBSQLReplyPacket |
GetReply(int nIndex)
Get reply at an index. |
int |
GetSize()
Get number of replies encapsulated. |
void |
ReadPacket(java.io.ObjectInputStream in)
Reads this object from the input stream |
void |
RemoveReply(int nIndex)
Removes a reply at an index. |
java.lang.String |
toString()
Returns the string representation of this object |
void |
WritePacket(java.io.ObjectOutputStream out)
Writes out this object to the output stream |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DBBatchSQLReplyPacket()
Method Detail |
---|
public void AddReply(DBSQLReplyPacket dmReplyPck)
dmReplyPck
- The reply packet to be addedpublic DBSQLReplyPacket GetReply(int nIndex) throws java.lang.Exception
java.lang.Exception
- If the index is out of boundspublic void RemoveReply(int nIndex) throws java.lang.Exception
nIndex
- The index at which the req packet should be removed
java.lang.Exception
- If the index is out of boundspublic int GetSize()
public java.lang.String toString()
toString
in class java.lang.Object
public void WritePacket(java.io.ObjectOutputStream out) throws java.io.IOException
out
- The output stream
java.io.IOException
public void ReadPacket(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
in
- The input stream
java.io.IOException
java.lang.ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |