@Deprecated public class SipClientHelper extends ClientConnectionHelper
CONNECTOR_LATCHclientSide, 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, stopaddOutboundMessage, checkin, checkout, configure, createConnectionPool, doFinishStop, doGracefulStop, getConnectionPool, getConnections, getInitialConnections, getMaxConnectionsPerHost, getMaxTotalConnections, getSocketLingerTimeMs, getSocketReceiveBufferSize, getSocketSendBufferSize, getSocketTrafficClass, isPersistingConnections, isPipeliningConnections, isPooledConnection, isSocketKeepAlive, isSocketNoDelay, isSocketOobInline, isSocketReuseAddresscreateControllerService, 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, traceWorkerServicegetConnectorService, getContext, getProtocols, updategetAttributes, getHelped, getHelpedParameters, getLogger, getMetadataService, setHelpedpublic SipClientHelper(Client client)
client - The client to help.public boolean control()
BaseHelpercontrol in class BaseHelper<Client>public InboundWay createInboundWay(Connection<Client> connection, int bufferSize)
ConnectionHelpercreateInboundWay in class ConnectionHelper<Client>connection - The parent connection.bufferSize - The byte buffer size.public OutboundWay createOutboundWay(Connection<Client> connection, int bufferSize)
ConnectionHelpercreateOutboundWay in class ConnectionHelper<Client>connection - The parent connection.bufferSize - The byte buffer size.public Request getRequest(Response response)
BaseHelpergetRequest in class BaseHelper<Client>response - The response to analyze.public Map<String,SipRequest> getRequests()
protected void unblock(Response response)
ClientConnectionHelperunblock in class ClientConnectionHelperresponse - The response.Copyright © 2005–2016. All rights reserved.