Top Fields Constructors Methods
org.apache.tomcat.websocket

public Class WsRemoteEndpointImplClient

extends WsRemoteEndpointImplBase
Class Inheritance
Imports
java.io.IOException, java.nio.ByteBuffer, java.util.concurrent.ExecutionException, .TimeUnit, .TimeoutException, java.util.concurrent.locks.ReentrantLock, jakarta.websocket.SendHandler, .SendResult

Field Summary

Modifier and TypeField and Description
private final AsyncChannelWrapper
private final ReentrantLock
Inherited from org.apache.tomcat.websocket.WsRemoteEndpointImplBase:
messagePartInProgressSENDRESULT_OKsm

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
protected void
doWrite(SendHandler handler, long blockingWriteTimeoutExpiry, ByteBuffer... data)

Implements abstract org.apache.tomcat.websocket.WsRemoteEndpointImplBase.doWrite.

protected ReentrantLock
protected boolean
Inherited from org.apache.tomcat.websocket.WsRemoteEndpointImplBase:
acquireMessagePartInProgressSemaphorecloseendMessageflushBatchgetBatchingAllowedgetSendStreamgetSendTimeoutgetSendWritersendBytessendBytesByCompletionsendBytesByFuturesendMessageBlocksendMessageBlocksendObjectsendObjectByCompletionsendObjectByFuturesendPartialBytessendPartialStringsendPingsendPongsendStringsendStringByCompletionsendStringByFuturesetBatchingAllowedsetEncoderssetSendTimeoutsetSessionsetTransformationstartMessageupdateStatswriteMessagePart

Field Detail

channelback to summary
private final AsyncChannelWrapper channel
lockback to summary
private final ReentrantLock lock

Constructor Detail

WsRemoteEndpointImplClientback to summary
public WsRemoteEndpointImplClient(AsyncChannelWrapper channel)

Method Detail

doCloseback to summary
protected void doClose()

Implements abstract org.apache.tomcat.websocket.WsRemoteEndpointImplBase.doClose.

Annotations
@Override
doWriteback to summary
protected void doWrite(SendHandler handler, long blockingWriteTimeoutExpiry, ByteBuffer... data)

Implements abstract org.apache.tomcat.websocket.WsRemoteEndpointImplBase.doWrite.

Annotations
@Override
getLockback to summary
protected ReentrantLock getLock()

Implements abstract org.apache.tomcat.websocket.WsRemoteEndpointImplBase.getLock.

Annotations
@Override
isMaskedback to summary
protected boolean isMasked()

Implements abstract org.apache.tomcat.websocket.WsRemoteEndpointImplBase.isMasked.

Annotations
@Override