|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.InputStream com.softwareag.sagd.PMQServer.ConversationInputStream
public class ConversationInputStream
Reads all messages from a conversation into input stream.
Constructor Summary | |
---|---|
ConversationInputStream(com.softwareag.entirex.aci.BrokerService service)
Create a new conversation for this stream. |
|
ConversationInputStream(com.softwareag.entirex.aci.Conversation conversation)
Reads the input stream from this conversation. |
Method Summary | |
---|---|
void |
close()
Close the conversation. |
static void |
main(java.lang.String[] args)
Test function to read a conversation into given output stream. |
int |
read()
Read a character from this stream. |
byte[] |
readLine()
Read and return one message line. |
void |
readTo(java.io.OutputStream outputStream)
Read the complete conversation with all messages into the output stream. |
Methods inherited from class java.io.InputStream |
---|
available, mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConversationInputStream(com.softwareag.entirex.aci.BrokerService service)
service
.
public ConversationInputStream(com.softwareag.entirex.aci.Conversation conversation)
Method Detail |
---|
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public byte[] readLine() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.InputStream
java.io.IOException
public void readTo(java.io.OutputStream outputStream) throws java.io.IOException
close()
the conversation.
java.io.IOException
public static void main(java.lang.String[] args) throws java.lang.Throwable
args
-
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |