Class MemoryEndPointPipe

java.lang.Object
org.eclipse.jetty.io.MemoryEndPointPipe
All Implemented Interfaces:
EndPoint.Pipe

public class MemoryEndPointPipe extends Object implements EndPoint.Pipe

Memory-based implementation of EndPoint.Pipe.

  • Constructor Details

    • MemoryEndPointPipe

      public MemoryEndPointPipe(org.eclipse.jetty.util.thread.Scheduler scheduler, Consumer<org.eclipse.jetty.util.thread.Invocable.Task> consumer, SocketAddress socketAddress)
  • Method Details

    • getLocalEndPoint

      public EndPoint getLocalEndPoint()
      Specified by:
      getLocalEndPoint in interface EndPoint.Pipe
      Returns:
      the EndPoint of the local peer
    • getRemoteEndPoint

      public EndPoint getRemoteEndPoint()
      Specified by:
      getRemoteEndPoint in interface EndPoint.Pipe
      Returns:
      the EndPoint of the remote peer
    • setLocalEndPointMaxCapacity

      public void setLocalEndPointMaxCapacity(int maxCapacity)
    • setRemoteEndPointMaxCapacity

      public void setRemoteEndPointMaxCapacity(int maxCapacity)