Class MemoryEndPointPipe
java.lang.Object
org.eclipse.jetty.io.MemoryEndPointPipe
- All Implemented Interfaces:
EndPoint.Pipe
Memory-based implementation of EndPoint.Pipe.
-
Constructor Summary
ConstructorsConstructorDescriptionMemoryEndPointPipe(Scheduler scheduler, Consumer<Invocable.Task> consumer, SocketAddress socketAddress) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetLocalEndPointMaxCapacity(int maxCapacity) voidsetRemoteEndPointMaxCapacity(int maxCapacity)
-
Constructor Details
-
MemoryEndPointPipe
public MemoryEndPointPipe(Scheduler scheduler, Consumer<Invocable.Task> consumer, SocketAddress socketAddress)
-
-
Method Details
-
getLocalEndPoint
- Specified by:
getLocalEndPointin interfaceEndPoint.Pipe- Returns:
- the
EndPointof the local peer
-
getRemoteEndPoint
- Specified by:
getRemoteEndPointin interfaceEndPoint.Pipe- Returns:
- the
EndPointof the remote peer
-
setLocalEndPointMaxCapacity
public void setLocalEndPointMaxCapacity(int maxCapacity) -
setRemoteEndPointMaxCapacity
public void setRemoteEndPointMaxCapacity(int maxCapacity)
-