Package org.eclipse.jetty.io
Class MemoryEndPointPipe
java.lang.Object
org.eclipse.jetty.io.MemoryEndPointPipe
- All Implemented Interfaces:
EndPoint.Pipe
Memory-based implementation of EndPoint.Pipe
.
-
Constructor Summary
ConstructorDescriptionMemoryEndPointPipe
(Scheduler scheduler, Consumer<Invocable.Task> consumer, SocketAddress socketAddress) -
Method Summary
-
Constructor Details
-
MemoryEndPointPipe
public MemoryEndPointPipe(Scheduler scheduler, Consumer<Invocable.Task> consumer, SocketAddress socketAddress)
-
-
Method Details
-
getLocalEndPoint
- Specified by:
getLocalEndPoint
in interfaceEndPoint.Pipe
- Returns:
- the
EndPoint
of the local peer
-
getRemoteEndPoint
- Specified by:
getRemoteEndPoint
in interfaceEndPoint.Pipe
- Returns:
- the
EndPoint
of the remote peer
-