|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
com.softwareag.sagd.PMQServer.ConversationOutputStream
public class ConversationOutputStream
Writes the output stream to one conversation.
Constructor Summary | |
---|---|
ConversationOutputStream(com.softwareag.entirex.aci.BrokerService service)
Creates a new conversation for this stream. |
Method Summary | |
---|---|
void |
close()
flush() the stream and close the current conversation. |
void |
flush()
Writes all buffered characters to conversation. |
long |
getLength()
Returns the number of written characters. |
static void |
main(java.lang.String[] args)
|
void |
write(byte[] b)
Writes character array b . |
void |
write(byte[] b,
int off,
int len)
Writes character array b . |
void |
write(int b)
Writes one character b . |
void |
writeFrom(java.io.InputStream input)
Write stream from input
in to this stream
This stream will not close. |
void |
writeFromLFtoMessage(java.io.InputStream input)
Write the input stream to this
output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConversationOutputStream(com.softwareag.entirex.aci.BrokerService service)
service
.
Method Detail |
---|
public void write(int b) throws java.io.IOException
b
.
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b) throws java.io.IOException
b
.
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
b
.
write
in class java.io.OutputStream
java.io.IOException
public long getLength()
public void close() throws java.io.IOException
flush()
the stream and close the current conversation.
close
in interface java.io.Closeable
close
in class java.io.OutputStream
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException
public void writeFrom(java.io.InputStream input) throws java.io.IOException
input
in to this stream
This stream will not close.
input
- copy this stream
java.io.IOException
public void writeFromLFtoMessage(java.io.InputStream input) throws java.io.IOException
input
stream to this
output stream. LF flushs the current output and creates new message line.
java.io.IOException
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |