Interface Source<T>

  • Type Parameters:
    T - Is the type of session that is returned. Eg For JSSE would be SSLSession.

    public interface Source<T>
    Used to Wrap a socket and to provide access to the underlying session.
    • Method Detail

      • getInputStream

        java.io.InputStream getInputStream()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • getOutputStream

        java.io.OutputStream getOutputStream()
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • getSession

        T getSession()
      • close

        void close()
            throws java.io.IOException
        Throws:
        java.io.IOException