Home | History | Annotate | Download | only in stack

Lines Matching refs:sipStack

30  * JAIN sipStack. Niklas Uhrberg suggested that a mechanism be added to
58 * This is sipStack for TLS connections. This abstracts a stream of parsed messages. The SIP
59 * sipStack starts this from the main SIPStack class for each connection that it accepts. It
106 private SIPTransactionStack sipStack;
111 * Constructor - gets called from the SIPStack class with a socket on accepting a new client.
112 * All the processing of the message is done here with the sipStack being freed up to handle
119 * @param sipStack Ptr to SIP Stack
124 protected TLSMessageChannel(Socket sock, SIPTransactionStack sipStack,
126 if (sipStack.isLoggingEnabled()) {
127 sipStack.getStackLogger().logDebug("creating new TLSMessageChannel (incoming)");
128 sipStack.getStackLogger().logStackTrace();
149 // Stash away a pointer to our sipStack structure.
150 this.sipStack = sipStack;
165 * @param sipStack is the sip sipStack from which we are created.
169 protected TLSMessageChannel(InetAddress inetAddr, int port, SIPTransactionStack sipStack,
171 if (sipStack.isLoggingEnabled()) {
172 sipStack.getStackLogger().logDebug("creating new TLSMessageChannel (outgoing)");
173 sipStack.getStackLogger().logStackTrace();
179 this.sipStack = sipStack;
201 if (sipStack.isLoggingEnabled())
202 sipStack.getStackLogger().logDebug("Closing message Channel " + this);
204 if (sipStack.isLoggingEnabled())
205 sipStack.getStackLogger().logDebug("Error closing socket " + ex);
215 return sipStack;
255 Socket sock = this.sipStack.ioHandler.sendBytes(
292 if (this.sipStack.getStackLogger().isLoggingEnabled(ServerLogger.TRACE_MESSAGES))
308 Socket sock = this.sipStack.ioHandler.sendBytes(this.messageProcessor.getIpAddress(),
343 if (sipStack.isLoggingEnabled())
344 sipStack.getStackLogger().logException(ex);
351 if (sipStack.isLoggingEnabled())
352 sipStack.getStackLogger().logDebug("Encountered bad message \n" + message);
359 if (sipStack.isLoggingEnabled()) {
360 sipStack.getStackLogger().logDebug("Sending automatic 400 Bad Request:");
361 sipStack.getStackLogger().logDebug(badReqRes);
367 this.sipStack.getStackLogger().logException(e);
370 if (sipStack.isLoggingEnabled()) {
371 sipStack.getStackLogger().logDebug(
397 if (sipStack.isLoggingEnabled()) {
398 sipStack.getStackLogger().logError("bad message " + badmsg);
399 sipStack.getStackLogger().logError(">>> Dropped Bad Msg");
413 Hop hop = sipStack.addressResolver.resolveAddress(v.getHop());
439 sipStack.ioHandler.putSocket(key, mySock);
454 if (sipStack.isLoggingEnabled()) {
455 sipStack.getStackLogger().logDebug("----Processing Message---");
457 if (this.sipStack.getStackLogger().isLoggingEnabled(ServerLogger.TRACE_MESSAGES)) {
459 sipStack.serverLogger.logMessage(sipMessage, this.getPeerHostPort().toString(),
466 if (sipStack.getMaxMessageSize() > 0
469 .getContentLength().getContentLength()) > sipStack
480 ServerRequestInterface sipServerRequest = sipStack.newSIPServerRequest(
506 if (sipStack.isLoggingEnabled())
507 sipStack.getStackLogger()
515 if (sipStack.isLoggingEnabled())
516 sipStack.getStackLogger()
524 if (sipStack.getMaxMessageSize() > 0
527 .getContentLength().getContentLength()) > sipStack
529 if (sipStack.isLoggingEnabled())
530 this.sipStack.getStackLogger().logDebug("Message size exceeded");
534 ServerResponseInterface sipServerResponse = sipStack.newSIPServerResponse(
541 if (sipStack.isLoggingEnabled())
542 sipStack.getStackLogger()
559 sipStack.getStackLogger().logWarning("Could not get semaphore... dropping response");
574 hispipe = new Pipeline(myClientInputStream, sipStack.readTimeout,
575 ((SIPTransactionStack) sipStack).getTimer());
578 myParser = new PipelinedMsgParser(this, hispipe, this.sipStack.getMaxMessageSize());
594 if (sipStack.maxConnections != -1) {
617 if (sipStack.isLoggingEnabled())
618 sipStack.getStackLogger().logDebug("IOException closing sock " + ex);
620 if (sipStack.maxConnections != -1) {