java.lang.Object
org.eclipse.jetty.io.MemoryEndPointPipe
- All Implemented Interfaces:
EndPoint.Pipe
Memory-based implementation of EndPoint.Pipe.
-
Constructor Summary
ConstructorsConstructorDescriptionMemoryEndPointPipe(org.eclipse.jetty.util.thread.Scheduler scheduler, Consumer<org.eclipse.jetty.util.thread.Invocable.Task> consumer, SocketAddress socketAddress) -
Method Summary
-
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
- Specified by:
getLocalEndPointin interfaceEndPoint.Pipe- Returns:
- the
EndPointof the local peer
-
getRemoteEndPoint
- Specified by:
getRemoteEndPointin interfaceEndPoint.Pipe- Returns:
- the
EndPointof the remote peer
-