com.skype.ipc
Class LoggedBufferedOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by java.io.BufferedOutputStream
              extended by com.skype.ipc.LoggedBufferedOutputStream
All Implemented Interfaces:
OutputTransporting, java.io.Closeable, java.io.Flushable

public class LoggedBufferedOutputStream
extends java.io.BufferedOutputStream
implements OutputTransporting


Field Summary
 
Fields inherited from class java.io.BufferedOutputStream
buf, count
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
LoggedBufferedOutputStream(java.io.OutputStream out, ClientConfiguration cfg)
           
 
Method Summary
 void close()
           
 void writeByte(int value)
           
 void writeByteAndFlush(int value)
           
 void writeBytes(byte[] src)
           
 void writeBytesAndFlush(byte[] src)
           
 
Methods inherited from class java.io.BufferedOutputStream
flush, write, write
 
Methods inherited from class java.io.FilterOutputStream
write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggedBufferedOutputStream

public LoggedBufferedOutputStream(java.io.OutputStream out,
                                  ClientConfiguration cfg)
Method Detail

writeBytes

public void writeBytes(byte[] src)
                throws java.io.IOException
Specified by:
writeBytes in interface OutputTransporting
Throws:
java.io.IOException

writeBytesAndFlush

public void writeBytesAndFlush(byte[] src)
                        throws java.io.IOException
Specified by:
writeBytesAndFlush in interface OutputTransporting
Throws:
java.io.IOException

writeByte

public void writeByte(int value)
               throws java.io.IOException
Specified by:
writeByte in interface OutputTransporting
Throws:
java.io.IOException

writeByteAndFlush

public void writeByteAndFlush(int value)
                       throws java.io.IOException
Specified by:
writeByteAndFlush in interface OutputTransporting
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface OutputTransporting
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.FilterOutputStream
Throws:
java.io.IOException


Copyright © 2010, 2011 Skype Technologies. All Rights Reserved.