@Deprecated public class SipClientHelper extends ClientConnectionHelper
CONNECTOR_LATCH
clientSide, controller, inboundMessages, outboundMessages
Constructor and Description |
---|
SipClientHelper(Client client)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
control()
Deprecated.
Controls the helper for inbound or outbound messages to handle.
|
InboundWay |
createInboundWay(Connection<Client> connection,
int bufferSize)
Deprecated.
Creates an inbound way for the given connection.
|
OutboundWay |
createOutboundWay(Connection<Client> connection,
int bufferSize)
Deprecated.
Creates an outbound way for the given connection.
|
Request |
getRequest(Response response)
Deprecated.
Returns the parent request of this response.
|
Map<String,SipRequest> |
getRequests()
Deprecated.
Returns the map of managed transactions represented by their initial
request.
|
protected void |
unblock(Response response)
Deprecated.
Unblocks the thread that handles the given request/response pair.
|
createConnection, createController, createSocketChannel, createSocketChannel, doHandleInbound, doHandleOutbound, getBestConnection, getProxyHost, getProxyPort, getSocketAddress, getSocketConnectTimeoutMs, handle, handleInbound, handleOutbound, isControllerDaemon, isProxying, start, stop
addOutboundMessage, checkin, checkout, configure, createConnectionPool, doFinishStop, doGracefulStop, getConnectionPool, getConnections, getInitialConnections, getMaxConnectionsPerHost, getMaxTotalConnections, getSocketLingerTimeMs, getSocketReceiveBufferSize, getSocketSendBufferSize, getSocketTrafficClass, isPersistingConnections, isPipeliningConnections, isPooledConnection, isSocketKeepAlive, isSocketNoDelay, isSocketOobInline, isSocketReuseAddress
createControllerService, createRequest, createWorkerService, execute, getController, getControllerSleepTimeMs, getInboundBufferSize, getInboundMessages, getLowThreads, getMaxIoIdleTimeMs, getMaxQueued, getMaxThreadIdleTimeMs, getMaxThreads, getMinThreads, getOutboundBufferSize, getOutboundMessages, getThrottleTimeMs, getTraceStream, getTransport, getWorkerService, handleInbound, handleOutbound, hasWorkerThreads, isClientSide, isDirectBuffers, isServerSide, isTracing, isWorkerServiceOverloaded, onInboundError, onOutboundError, traceWorkerService
getConnectorService, getContext, getProtocols, update
getAttributes, getHelped, getHelpedParameters, getLogger, getMetadataService, setHelped
public SipClientHelper(Client client)
client
- The client to help.public boolean control()
BaseHelper
control
in class BaseHelper<Client>
public InboundWay createInboundWay(Connection<Client> connection, int bufferSize)
ConnectionHelper
createInboundWay
in class ConnectionHelper<Client>
connection
- The parent connection.bufferSize
- The byte buffer size.public OutboundWay createOutboundWay(Connection<Client> connection, int bufferSize)
ConnectionHelper
createOutboundWay
in class ConnectionHelper<Client>
connection
- The parent connection.bufferSize
- The byte buffer size.public Request getRequest(Response response)
BaseHelper
getRequest
in class BaseHelper<Client>
response
- The response to analyze.public Map<String,SipRequest> getRequests()
protected void unblock(Response response)
ClientConnectionHelper
unblock
in class ClientConnectionHelper
response
- The response.Copyright © 2005–2019. All rights reserved.