Top Description Fields Constructors Methods
org.eclipse.jetty.quic.client

public Class ClientProtocolSession

extends ProtocolSession
Class Inheritance
Imports
org.eclipse.jetty.quic.common.ProtocolSession, .QuicErrorCode, .QuicStreamEndPoint, .StreamType, org.eclipse.jetty.util.thread.Invocable, org.slf4j.Logger, .LoggerFactory

Client specific implementation of ProtocolSession.

Field Summary

Modifier and TypeField and Description
private QuicStreamEndPoint
private static final Logger
private final Runnable

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
doStart()

Overrides org.eclipse.jetty.util.component.ContainerLifeCycle.doStart.

Starts the managed lifecycle beans in the order they were added.

protected void
doStop()

Overrides org.eclipse.jetty.util.component.ContainerLifeCycle.doStop.

Stops the managed lifecycle beans in the reverse order they were added.

public Runnable
public ClientQuicSession
protected void
protected void
protected boolean
onReadable(long readableStreamId)

Implements abstract org.eclipse.jetty.quic.common.ProtocolSession.onReadable.

protected void
protected void
Inherited from org.eclipse.jetty.quic.common.ProtocolSession:
getIdleTimeoutgetMaxLocalStreamsgetOrCreateStreamEndPointgetStreamEndPointinwardCloseofferonIdleTimeoutonWritableopenProtocolEndPointoutwardCloseprocessReadableStreamsprocessWritableStreamsproduceshutdowntoString

Field Detail

endPointback to summary
private QuicStreamEndPoint endPoint
LOGback to summary
private static final Logger LOG

Hides org.eclipse.jetty.quic.common.ProtocolSession.LOG.

producerback to summary
private final Runnable producer

Hides org.eclipse.jetty.quic.common.ProtocolSession.producer.

Constructor Detail

ClientProtocolSessionback to summary
public ClientProtocolSession(ClientQuicSession session)

Method Detail

doStartback to summary
protected void doStart() throws Exception

Overrides org.eclipse.jetty.util.component.ContainerLifeCycle.doStart.

Doc from org.eclipse.jetty.util.component.ContainerLifeCycle.doStart.

Starts the managed lifecycle beans in the order they were added.

Annotations
@Override
Exceptions
Exception:

Doc from org.eclipse.jetty.util.component.AbstractLifeCycle.doStart.

If there was a problem starting. Will cause a transition to FAILED state

doStopback to summary
protected void doStop() throws Exception

Overrides org.eclipse.jetty.util.component.ContainerLifeCycle.doStop.

Doc from org.eclipse.jetty.util.component.ContainerLifeCycle.doStop.

Stops the managed lifecycle beans in the reverse order they were added.

Annotations
@Override
Exceptions
Exception:

Doc from org.eclipse.jetty.util.component.AbstractLifeCycle.doStop.

If there was a problem stopping. Will cause a transition to FAILED state

getProducerTaskback to summary
public Runnable getProducerTask()

Implements abstract org.eclipse.jetty.quic.common.ProtocolSession.getProducerTask.

Annotations
@Override
getQuicSessionback to summary
public ClientQuicSession getQuicSession()

Overrides org.eclipse.jetty.quic.common.ProtocolSession.getQuicSession.

Annotations
@Override
onCloseback to summary
protected void onClose(long error, String reason)

Implements abstract org.eclipse.jetty.quic.common.ProtocolSession.onClose.

Annotations
@Override
onFailureback to summary
protected void onFailure(long error, String reason, Throwable failure)

Overrides org.eclipse.jetty.quic.common.ProtocolSession.onFailure.

Annotations
@Override
onReadableback to summary
protected boolean onReadable(long readableStreamId)

Implements abstract org.eclipse.jetty.quic.common.ProtocolSession.onReadable.

Annotations
@Override
onStartback to summary
protected void onStart()
onStopback to summary
protected void onStop()