Class Wire


  • @Contract(threading=IMMUTABLE)
    public class Wire
    extends java.lang.Object
    Logs data to the wire LOG. TODO: make package private. Should not be part of the public API.
    Since:
    4.0
    • Constructor Summary

      Constructors 
      Constructor Description
      Wire​(Log log)  
      Wire​(Log log, java.lang.String id)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean enabled()  
      void input​(byte[] b)  
      void input​(byte[] b, int off, int len)  
      void input​(int b)  
      void input​(java.io.InputStream inStream)  
      void input​(java.lang.String s)  
      void output​(byte[] b)  
      void output​(byte[] b, int off, int len)  
      void output​(int b)  
      void output​(java.io.InputStream outStream)  
      void output​(java.lang.String s)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Wire

        public Wire​(Log log,
                    java.lang.String id)
        Since:
        4.3
      • Wire

        public Wire​(Log log)
    • Method Detail

      • enabled

        public boolean enabled()
      • output

        public void output​(java.io.InputStream outStream)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • input

        public void input​(java.io.InputStream inStream)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • output

        public void output​(byte[] b,
                           int off,
                           int len)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • input

        public void input​(byte[] b,
                          int off,
                          int len)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • output

        public void output​(byte[] b)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • input

        public void input​(byte[] b)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • output

        public void output​(int b)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • input

        public void input​(int b)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • output

        public void output​(java.lang.String s)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • input

        public void input​(java.lang.String s)
                   throws java.io.IOException
        Throws:
        java.io.IOException