@Deprecated public class SipClientInboundWay extends ClientInboundWay
| Constructor and Description |
|---|
SipClientInboundWay(Connection<Client> connection,
int bufferSize)
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyResponseTransportHeaders(Series<Header> headers,
Response response)
Deprecated.
Copies headers into a response.
|
protected Response |
createResponse(Status status)
Deprecated.
Creates a response object for the given status.
|
protected Status |
createStatus(int code)
Deprecated.
Returns the status corresponding to a given status code.
|
SipClientHelper |
getHelper()
Deprecated.
Returns the parent connector helper.
|
protected boolean |
hasIoInterest()
Deprecated.
Indicates if we want to be selected for IO processing when the socket
related socket is prepared.
|
boolean |
isEmpty()
Deprecated.
Indicates if the way is empty.
|
protected void |
onReceived(Response message)
Deprecated.
Call back invoked when the message is received.
|
void |
updateState()
Deprecated.
Updates the way IO and message states.
|
getActualMessage, getConnection, getInterestOperations, onHeadersCompleted, onMessageCompleted, readStartLineclear, createEntity, fillLine, getBuilderIndex, getEntityRegistration, isLineReadable, onDrain, onError, onFill, onFillEof, onPostProcessing, onTimeOut, processIoBuffer, readHeader, setBuilderIndex, setEntityRegistrationcanLoop, clearLineBuilder, couldDrain, couldFill, getBuffer, getHeaders, getIoState, getLineBuilder, getLineBuilderState, getLoadScore, getLogger, getMessage, getMessageState, getRegistration, isAvailable, onClosed, onSelected, postProcess, preProcess, setHeaders, setIoState, setLineBuilderState, setMessage, setMessageState, setRegistration, toStringpublic SipClientInboundWay(Connection<Client> connection, int bufferSize)
connection - The parent connection.bufferSize - The byte buffer size.IOExceptionprotected void copyResponseTransportHeaders(Series<Header> headers, Response response)
ClientInboundWaycopyResponseTransportHeaders in class ClientInboundWayheaders - The headers to copy.response - The response to update.protected Response createResponse(Status status)
ClientInboundWaycreateResponse in class ClientInboundWaystatus - The response status.protected Status createStatus(int code)
ClientInboundWaycreateStatus in class ClientInboundWaycode - The status code.public SipClientHelper getHelper()
WaygetHelper in class ClientInboundWayprotected boolean hasIoInterest()
WayhasIoInterest in class Waypublic boolean isEmpty()
Wayprotected void onReceived(Response message) throws IOException
InboundWayonReceived in class ClientInboundWaymessage - The new message received.IOExceptionpublic void updateState()
WayupdateState in class InboundWayCopyright © 2005–2016. All rights reserved.