Home | History | Annotate | Download | only in stack

Lines Matching refs:sipStack

43  * Ahmet Uyar <auyar@csit.fsu.edu>sent in a bug report for TCP operation of the JAIN sipStack.
52 * The SIP sipStack starts this from the main SIPStack class for each connection that it accepts.
83 protected SIPTransactionStack sipStack;
102 protected TCPMessageChannel(SIPTransactionStack sipStack) {
103 this.sipStack = sipStack;
108 * Constructor - gets called from the SIPStack class with a socket on accepting a new client.
109 * All the processing of the message is done here with the sipStack being freed up to handle
116 * @param sipStack Ptr to SIP Stack
119 protected TCPMessageChannel(Socket sock, SIPTransactionStack sipStack,
122 if (sipStack.isLoggingEnabled()) {
123 sipStack.getStackLogger().logDebug("creating new TCPMessageChannel ");
124 sipStack.getStackLogger().logStackTrace();
134 // Stash away a pointer to our sipStack structure.
135 this.sipStack = sipStack;
151 * @param sipStack is the sip sipStack from which we are created.
154 protected TCPMessageChannel(InetAddress inetAddr, int port, SIPTransactionStack sipStack,
156 if (sipStack.isLoggingEnabled()) {
157 sipStack.getStackLogger().logDebug("creating new TCPMessageChannel ");
158 sipStack.getStackLogger().logStackTrace();
164 this.sipStack = sipStack;
189 if (sipStack.isLoggingEnabled())
190 sipStack.getStackLogger().logDebug("Closing message Channel " + this);
192 if (sipStack.isLoggingEnabled())
193 sipStack.getStackLogger().logDebug("Error closing socket " + ex);
203 return sipStack;
250 // Socket s = this.sipStack.ioHandler.getSocket(IOHandler.makeKey(
252 Socket sock = this.sipStack.ioHandler.sendBytes(this.messageProcessor.getIpAddress(),
294 if (this.sipStack.getStackLogger().isLoggingEnabled(ServerLogger.TRACE_MESSAGES))
310 Socket sock = this.sipStack.ioHandler.sendBytes(this.messageProcessor.getIpAddress(),
317 sipStack.getTimer().schedule(new TimerTask() {
363 if (sipStack.isLoggingEnabled())
364 sipStack.getStackLogger().logException(ex);
371 if (sipStack.isLoggingEnabled()) {
372 sipStack.getStackLogger().logDebug(
383 if (sipStack.isLoggingEnabled()) {
384 sipStack.getStackLogger().logDebug("Sending automatic 400 Bad Request:");
385 sipStack.getStackLogger().logDebug(badReqRes);
391 this.sipStack.getStackLogger().logException(e);
394 if (sipStack.isLoggingEnabled()) {
395 sipStack.getStackLogger().logDebug(
422 if (sipStack.isLoggingEnabled()) {
423 sipStack.getStackLogger().logDebug(">>> Dropped Bad Msg");
424 sipStack.getStackLogger().logDebug(badmsg);
437 Hop hop = sipStack.addressResolver.resolveAddress(v.getHop());
461 InternalErrorHandler.handleException(ex, sipStack.getStackLogger());
469 sipStack.ioHandler.putSocket(key, mySock);
484 if (sipStack.isLoggingEnabled()) {
485 sipStack.getStackLogger().logDebug("----Processing Message---");
490 if (this.sipStack.getStackLogger().isLoggingEnabled(ServerLogger.TRACE_MESSAGES)) {
491 sipStack.serverLogger.logMessage(sipMessage, this.getPeerHostPort().toString(),
497 if (sipStack.getMaxMessageSize() > 0
500 .getContentLength().getContentLength()) > sipStack
509 ServerRequestInterface sipServerRequest = sipStack.newSIPServerRequest(
523 if (sipStack.isLoggingEnabled())
524 this.sipStack.getStackLogger()
536 if (sipStack.isLoggingEnabled())
537 sipStack.getStackLogger()
545 if (sipStack.getMaxMessageSize() > 0
548 .getContentLength().getContentLength()) > sipStack
550 if (sipStack.isLoggingEnabled())
551 this.sipStack.getStackLogger().logDebug("Message size exceeded");
555 ServerResponseInterface sipServerResponse = sipStack.newSIPServerResponse(
562 if (sipStack.isLoggingEnabled())
563 sipStack.getStackLogger()
576 sipStack
594 hispipe = new Pipeline(myClientInputStream, sipStack.readTimeout,
595 ((SIPTransactionStack) sipStack).getTimer());
598 myParser = new PipelinedMsgParser(this, hispipe, this.sipStack.getMaxMessageSize());
614 if (sipStack.maxConnections != -1) {
637 if (sipStack.isLoggingEnabled())
638 sipStack.getStackLogger().logDebug("IOException closing sock " + ex);
640 if (sipStack.maxConnections != -1) {
656 InternalErrorHandler.handleException(ex, sipStack.getStackLogger());