Home
last modified time | relevance | path

Searched refs:sipStack (Results 1 – 22 of 22) sorted by relevance

/external/nist-sip/java/gov/nist/javax/sip/
DDialogFilter.java95 private SipStackImpl sipStack; field in DialogFilter
97 public DialogFilter(SipStackImpl sipStack) { in DialogFilter() argument
98 this.sipStack = sipStack; in DialogFilter()
120 sipStack.addTransactionPendingAck(transaction); in sendRequestPendingResponse()
125 sipStack.getStackLogger().logError("Problem sending error response", ex); in sendRequestPendingResponse()
127 sipStack.removeTransaction(transaction); in sendRequestPendingResponse()
150 sipStack.addTransactionPendingAck(transaction); in sendBadRequestResponse()
155 sipStack.getStackLogger().logError("Problem sending error response", ex); in sendBadRequestResponse()
157 sipStack.removeTransaction(transaction); in sendBadRequestResponse()
181 sipStack.addTransactionPendingAck(transaction); in sendCallOrTransactionDoesNotExistResponse()
[all …]
DEventScanner.java57 private SipStackImpl sipStack; field in EventScanner
72 this.sipStack = sipStackImpl; in EventScanner()
81 if (sipStack.isLoggingEnabled()) in addEvent()
82 sipStack.getStackLogger().logDebug("addEvent " + eventWrapper); in addEvent()
129 if (sipStack.isLoggingEnabled()) in deliverEvent()
130 sipStack.getStackLogger().logDebug( in deliverEvent()
138 sipListener = sipStack.getSipListener(); in deliverEvent()
148 if (sipStack.isLoggingEnabled()) { in deliverEvent()
149 sipStack.getStackLogger().logDebug( in deliverEvent()
168 SIPServerTransaction tx = (SIPServerTransaction) sipStack in deliverEvent()
[all …]
DSipProviderImpl.java99 protected SipStackImpl sipStack; field in SipProviderImpl
136 if (sipStack.isLoggingEnabled()) in stop()
137 sipStack.getStackLogger().logDebug("Exiting provider"); in stop()
169 if (sipStack.isLoggingEnabled()) { in handleEvent()
170 sipStack.getStackLogger().logDebug( in handleEvent()
177 … if ( sipStack.isLoggingEnabled()) sipStack.getStackLogger().logDebug("Dialog = " + dialog); in handleEvent()
180 … if (sipStack.isLoggingEnabled() ) sipStack.getStackLogger().logDebug("Dialog = " + dialog); in handleEvent()
182 sipStack.getStackLogger().logStackTrace(); in handleEvent()
187 if (!sipStack.reEntrantListener) { in handleEvent()
197 protected SipProviderImpl(SipStackImpl sipStack) { in SipProviderImpl() argument
[all …]
DNistSipMessageFactoryImpl.java53 private SipStackImpl sipStack; field in NistSipMessageFactoryImpl
83 if (sipStack.isLoggingEnabled()) in newSIPServerRequest()
84 sipStack.getStackLogger().logDebug( in newSIPServerRequest()
107 if (sipStack.isLoggingEnabled()) in newSIPServerResponse()
108 sipStack.getStackLogger().logDebug( in newSIPServerResponse()
117 if (sipStack.isLoggingEnabled()) in newSIPServerResponse()
118 sipStack.getStackLogger().logDebug( in newSIPServerResponse()
124 if (sipStack.isLoggingEnabled()) in newSIPServerResponse()
125 sipStack.getStackLogger().logDebug( in newSIPServerResponse()
133 sipStack); in newSIPServerResponse()
[all …]
DListeningPointImpl.java79 protected SipStackImpl sipStack; field in ListeningPointImpl
129 SipStack sipStack, in ListeningPointImpl() argument
132 this.sipStack = (SipStackImpl) sipStack; in ListeningPointImpl()
146 new ListeningPointImpl(this.sipStack, this.port, null); in clone()
147 lip.sipStack = this.sipStack; in clone()
240 InternalErrorHandler.handleException("Unexpected exception",sipStack.getStackLogger()); in createContactHeader()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DTCPMessageChannel.java83 protected SIPTransactionStack sipStack; field in TCPMessageChannel
102 protected TCPMessageChannel(SIPTransactionStack sipStack) { in TCPMessageChannel() argument
103 this.sipStack = sipStack; in TCPMessageChannel()
119 protected TCPMessageChannel(Socket sock, SIPTransactionStack sipStack, in TCPMessageChannel() argument
122 if (sipStack.isLoggingEnabled()) { in TCPMessageChannel()
123 sipStack.getStackLogger().logDebug("creating new TCPMessageChannel "); in TCPMessageChannel()
124 sipStack.getStackLogger().logStackTrace(); in TCPMessageChannel()
135 this.sipStack = sipStack; in TCPMessageChannel()
154 protected TCPMessageChannel(InetAddress inetAddr, int port, SIPTransactionStack sipStack, in TCPMessageChannel() argument
156 if (sipStack.isLoggingEnabled()) { in TCPMessageChannel()
[all …]
DUDPMessageChannel.java102 protected SIPTransactionStack sipStack; field in UDPMessageChannel
175 this.sipStack = stack; in UDPMessageChannel()
204 this.sipStack = stack; in UDPMessageChannel()
227 SIPTransactionStack sipStack, UDPMessageProcessor messageProcessor) { in UDPMessageChannel() argument
234 this.sipStack = sipStack; in UDPMessageChannel()
235 if (sipStack.isLoggingEnabled()) { in UDPMessageChannel()
236 this.sipStack.getStackLogger().logDebug("Creating message channel " in UDPMessageChannel()
257 if (sipStack.threadPoolSize != -1) { in run()
268 threadHandle = sipStack.getThreadAuditor() in run()
300 sipStack.getStackLogger().logError( in run()
[all …]
DTLSMessageChannel.java106 private SIPTransactionStack sipStack; field in TLSMessageChannel
124 protected TLSMessageChannel(Socket sock, SIPTransactionStack sipStack, in TLSMessageChannel() argument
126 if (sipStack.isLoggingEnabled()) { in TLSMessageChannel()
127 sipStack.getStackLogger().logDebug("creating new TLSMessageChannel (incoming)"); in TLSMessageChannel()
128 sipStack.getStackLogger().logStackTrace(); in TLSMessageChannel()
150 this.sipStack = sipStack; in TLSMessageChannel()
169 protected TLSMessageChannel(InetAddress inetAddr, int port, SIPTransactionStack sipStack, in TLSMessageChannel() argument
171 if (sipStack.isLoggingEnabled()) { in TLSMessageChannel()
172 sipStack.getStackLogger().logDebug("creating new TLSMessageChannel (outgoing)"); in TLSMessageChannel()
173 sipStack.getStackLogger().logStackTrace(); in TLSMessageChannel()
[all …]
DSIPDialog.java174 private transient SIPTransactionStack sipStack; field in SIPDialog
296 sipStack.getStackLogger().logError("unexpected error", e); in terminate()
313 if (sipStack.isLoggingEnabled()) in run()
314 sipStack.getStackLogger().logError( in run()
352 if (sipStack.isLoggingEnabled()) in run()
353 sipStack.getStackLogger().logDebug("Interrupted sleep"); in run()
359 if (sipStack.isLoggingEnabled()) in run()
360 sipStack.getStackLogger().logDebug("re-INVITE successfully sent"); in run()
362 sipStack.getStackLogger().logError("Error sending re-INVITE", ex); in run()
381 sipStack.removeDialog(dialog); in runTask()
[all …]
DUDPMessageProcessor.java98 SIPTransactionStack sipStack, int port) throws IOException { in UDPMessageProcessor() argument
99 super(ipAddress, port, "udp",sipStack); in UDPMessageProcessor()
101 this.sipStack = sipStack; in UDPMessageProcessor()
107 this.sock = sipStack.getNetworkLayer().createDatagramSocket(port, in UDPMessageProcessor()
110 sock.setReceiveBufferSize(sipStack.getReceiveUdpBufferSize()); in UDPMessageProcessor()
111 sock.setSendBufferSize(sipStack.getSendUdpBufferSize()); in UDPMessageProcessor()
117 if (sipStack.getThreadAuditor().isEnabled()) { in UDPMessageProcessor()
118 sock.setSoTimeout((int) sipStack.getThreadAuditor().getPingIntervalInMillisecs()); in UDPMessageProcessor()
169 if (sipStack.threadPoolSize != -1) { in run()
170 for (int i = 0; i < sipStack.threadPoolSize; i++) { in run()
[all …]
DTLSMessageProcessor.java88 protected TLSMessageProcessor(InetAddress ipAddress, SIPTransactionStack sipStack, int port) { in TLSMessageProcessor() argument
89 super(ipAddress, port, "tls",sipStack); in TLSMessageProcessor()
90 this.sipStack = sipStack; in TLSMessageProcessor()
106 this.sock = sipStack.getNetworkLayer().createSSLServerSocket(this.getPort(), 0, in start()
111 String []enabledCiphers = ((SipStackImpl)sipStack).getEnabledCipherSuites(); in start()
133 while (sipStack.maxConnections != -1 in run()
134 && this.nConnections >= sipStack.maxConnections) { in run()
149 if (sipStack.isLoggingEnabled()) in run()
150 sipStack.getStackLogger().logDebug("Accepting new connection!"); in run()
156 incomingTlsMessageChannels.add(new TLSMessageChannel(newsock, sipStack, this)); in run()
[all …]
DTCPMessageProcessor.java78 protected TCPMessageProcessor(InetAddress ipAddress, SIPTransactionStack sipStack, int port) { in TCPMessageProcessor() argument
79 super(ipAddress, port, "tcp",sipStack); in TCPMessageProcessor()
81 this.sipStack = sipStack; in TCPMessageProcessor()
95 this.sock = sipStack.getNetworkLayer().createServerSocket(getPort(), 0, getIpAddress()); in start()
119 while (sipStack.maxConnections != -1 in run()
120 && this.nConnections >= sipStack.maxConnections) { in run()
134 if (sipStack.isLoggingEnabled()) { in run()
140 incomingTcpMessageChannels.add(new TCPMessageChannel(newsock, sipStack, this)); in run()
145 if (sipStack.isLoggingEnabled()) in run()
169 return sipStack; in getSIPStack()
[all …]
DDefaultRouter.java101 private SipStackImpl sipStack; field in DefaultRouter
112 public DefaultRouter(SipStack sipStack, String defaultRoute) { in DefaultRouter() argument
113 this.sipStack = (SipStackImpl) sipStack; in DefaultRouter()
116 this.defaultRoute = (Hop) this.sipStack.getAddressResolver() in DefaultRouter()
120 ((SIPTransactionStack) sipStack) in DefaultRouter()
203 if (sipStack.isLoggingEnabled()) in getNextHop()
204 sipStack.getStackLogger() in getNextHop()
209 if (sipStack.isLoggingEnabled()) in getNextHop()
210 sipStack.getStackLogger() in getNextHop()
220 if (sipStack.isLoggingEnabled()) in getNextHop()
[all …]
DIOHandler.java64 private SipStackImpl sipStack; field in IOHandler
80 protected IOHandler(SIPTransactionStack sipStack) { in IOHandler() argument
81 this.sipStack = (SipStackImpl) sipStack; in IOHandler()
140 clientSock = sipStack.getNetworkLayer().createSocket(dst, dstPort, localAddress,
166 if (sipStack.isLoggingEnabled()) {
167 sipStack.getStackLogger().logDebug(
171 if (sipStack.isLoggingEnabled() && sipStack.isLogStackTraceOnMessageSend()) {
172 sipStack.getStackLogger().logStackTrace(StackLogger.TRACE_INFO);
194 if (sipStack.isLoggingEnabled()) {
195 sipStack.getStackLogger().logDebug("inaddr = " + receiverAddress);
[all …]
DSIPServerTransaction.java305 SIPTransactionStack sipStack = serverTransaction.getSIPStack(); in runTask() local
306 sipStack.removePendingTransaction(serverTransaction); in runTask()
307 sipStack.removeTransaction(serverTransaction); in runTask()
311 sipStack.getStackLogger().logError("unexpected exception", ex); in runTask()
324 if (sipStack.isLoggingEnabled()) in SendTrying()
325sipStack.getStackLogger().logDebug("scheduled timer for " + SIPServerTransaction.this); in SendTrying()
335 if (sipStack.isLoggingEnabled()) in runTask()
336 sipStack.getStackLogger().logDebug(" sending Trying current state = " in runTask()
341 if (sipStack.isLoggingEnabled()) in runTask()
342 sipStack.getStackLogger().logDebug(" trying sent " in runTask()
[all …]
DSIPClientTransaction.java218 SIPTransactionStack sipStack; in runTask() local
220 sipStack = clientTransaction.sipStack; in runTask()
225 if (sipStack.isLoggingEnabled()) { in runTask()
226 sipStack.getStackLogger().logDebug( in runTask()
231 sipStack.removeTransaction(clientTransaction); in runTask()
237 if (!sipStack.isAlive()) in runTask()
245 if ((!sipStack.cacheClientConnections) && clientTransaction.isReliable()) { in runTask()
252 sipStack.getTimer().schedule(myTimer, in runTask()
260 if (sipStack.isLoggingEnabled() && clientTransaction.isReliable()) { in runTask()
262 if (sipStack.isLoggingEnabled()) in runTask()
[all …]
DSIPTransaction.java184 protected transient SIPTransactionStack sipStack; field in SIPTransaction
277 if (sipStack.isLoggingEnabled()) { in LingerTimer()
278 sipStack.getStackLogger().logDebug("LingerTimer : " in LingerTimer()
287 SIPTransactionStack sipStack = transaction.getSIPStack(); in runTask() local
289 if (sipStack.isLoggingEnabled()) { in runTask()
290 sipStack.getStackLogger().logDebug("LingerTimer: run() : " in runTask()
295 sipStack.removeTransaction(transaction); in runTask()
300 if (sipStack.isLoggingEnabled()) in runTask()
301 sipStack.getStackLogger().logDebug("removing" + transaction); in runTask()
302 sipStack.removeTransaction(transaction); in runTask()
[all …]
DServerLog.java88 private SIPTransactionStack sipStack; field in ServerLog
221 if (sipStack.isLoggingEnabled()) { in checkLogFile()
261 if (sipStack.isLoggingEnabled()) { in checkLogFile()
316 if (sipStack.isLoggingEnabled()) { in logMessage()
326 LogRecord log = this.sipStack.logRecordFactory.createLogRecord(message, from, to, time, in logMessage()
449 public void setSipStack(SipStack sipStack) { in setSipStack() argument
450 if(sipStack instanceof SIPTransactionStack) { in setSipStack()
451 this.sipStack = (SIPTransactionStack)sipStack; in setSipStack()
452 this.stackLogger = this.sipStack.getStackLogger(); in setSipStack()
DMessageProcessor.java100 protected SIPTransactionStack sipStack; field in MessageProcessor
130 this.sipStack = transactionStack; in initialize()
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/
DAuthenticationHelperImpl.java80 private SipStackImpl sipStack; field in AuthenticationHelperImpl
92 public AuthenticationHelperImpl(SipStackImpl sipStack, AccountManager accountManager, in AuthenticationHelperImpl() argument
96 this.sipStack = sipStack; in AuthenticationHelperImpl()
98 this.cachedCredentials = new CredentialsCache(((SIPTransactionStack) sipStack).getTimer()); in AuthenticationHelperImpl()
109 public AuthenticationHelperImpl(SipStackImpl sipStack, SecureAccountManager accountManager, in AuthenticationHelperImpl() argument
113 this.sipStack = sipStack; in AuthenticationHelperImpl()
115 this.cachedCredentials = new CredentialsCache(((SIPTransactionStack) sipStack).getTimer()); in AuthenticationHelperImpl()
129 if (sipStack.isLoggingEnabled()) { in handleChallenge()
130 sipStack.getStackLogger().logDebug("handleChallenge: " + challenge); in handleChallenge()
216 && !hop.equals(sipStack.getRouter(challengedRequest).getOutboundProxy()) ) in handleChallenge()
[all …]
/external/nist-sip/java/javax/sip/
DSipFactory.java46 SipStack sipStack = mNameSipStackMap.get(name); in createSipStack() local
47 if (sipStack == null) { in createSipStack()
51 sipStack = Class.forName(implClassName) in createSipStack()
59 mNameSipStackMap.put(name, sipStack); in createSipStack()
61 return sipStack; in createSipStack()
/external/nist-sip/java/gov/nist/core/
DServerLogger.java46 public void setSipStack(SipStack sipStack); in setSipStack() argument