Class WmJMSOutputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable

    public class WmJMSOutputStream
    extends java.io.OutputStream
    • Method Detail

      • write

        public void write​(int b)
                   throws java.io.IOException
        Specified by:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException
      • setStreamId

        public void setStreamId​(java.lang.String streamId)
      • getStreamId

        public java.lang.String getStreamId()
      • markStreamBytePosition

        public void markStreamBytePosition​(int position)
        Set the stream byte position for recovery
        Parameters:
        position -
      • currentWrittenBytePosition

        public int currentWrittenBytePosition()
        Get the current byte position which has been written by the client
      • flush

        public void flush()
                   throws java.io.IOException
        Specified by:
        flush in interface java.io.Flushable
        Overrides:
        flush in class java.io.OutputStream
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class java.io.OutputStream
        Throws:
        java.io.IOException