Interface TransportInternal

  • All Superinterfaces:
    Endpoint, Extendable, Transport
    All Known Implementing Classes:
    TransportImpl

    public interface TransportInternal
    extends Transport
    Extended Transport interface providing access to certain methods intended mainly for internal use, or use in extending implementation details not strictly considered part of the public Transport API.
    • Method Detail

      • addTransportLayer

        void addTransportLayer​(TransportLayer layer)
                        throws java.lang.IllegalStateException
        Add a TransportLayer to the transport, wrapping the input and output process handlers in the state they currently exist. No effect if the given layer was previously added.
        Parameters:
        layer - the layer to add (if it was not previously added)
        Throws:
        java.lang.IllegalStateException - if processing has already started.
      • setUseReadOnlyOutputBuffer

        void setUseReadOnlyOutputBuffer​(boolean value)
      • isUseReadOnlyOutputBuffer

        boolean isUseReadOnlyOutputBuffer()