@Deprecated public class SipClientOutboundWay extends ClientOutboundWay
Constructor and Description |
---|
SipClientOutboundWay(Connection<?> connection,
int bufferSize)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addGeneralHeaders(Series<Header> headers)
Deprecated.
|
protected void |
addRequestHeaders(Series<Header> headers)
Deprecated.
Adds the request headers.
|
SipClientHelper |
getHelper()
Deprecated.
Returns the parent connector helper.
|
void |
handle(Response response)
Deprecated.
Add a message to the outbound way.
|
boolean |
isEmpty()
Deprecated.
Indicates if the way is empty.
|
addHeaders, getActualMessage, getConnection, onMessageCompleted, writeStartLine
addEntityHeaders, clear, flushBuffer, getEntityChannel, getEntityChannelType, getEntityFileChannel, getEntityInterestOps, getEntitySelectableChannel, getEntitySelectionKey, getHeaderIndex, getInterestOperations, getVersion, hasIoInterest, onDrain, onError, onFill, onFillEof, onHeadersCompleted, onPostProcessing, onTimeOut, processIoBuffer, setEntityChannel, setEntityChannelType, setEntitySelectionKey, setHeaderIndex, shouldBeChunked, updateState, writeLine
canLoop, clearLineBuilder, couldDrain, couldFill, getBuffer, getHeaders, getIoState, getLineBuilder, getLineBuilderState, getLoadScore, getLogger, getMessage, getMessageState, getRegistration, isAvailable, onClosed, onSelected, postProcess, preProcess, setHeaders, setIoState, setLineBuilderState, setMessage, setMessageState, setRegistration, toString
public SipClientOutboundWay(Connection<?> connection, int bufferSize)
connection
- The parent connection.bufferSize
- The byte buffer size.protected void addGeneralHeaders(Series<Header> headers)
OutboundWay
addGeneralHeaders
in class OutboundWay
headers
- The target headers Series
.protected void addRequestHeaders(Series<Header> headers)
ClientOutboundWay
addRequestHeaders
in class ClientOutboundWay
headers
- The headers series to update.public SipClientHelper getHelper()
Way
public void handle(Response response)
OutboundWay
handle
in class OutboundWay
Copyright © 2005–2016. All rights reserved.