SIPRequest notifyMessage) { synchronized (clientTransactions) { Iterator it = clientTransactions.iterator();
SIPRequest notifyMessage, ListeningPointImpl listeningPoint) { SIPClientTransaction retval = null; try { Iterator it = clientTransactionTable.values().iterator(); logWriter.logDebug("ct table size = " + clientTransactionTable.size());
	public SIPClientTransaction findSubscribeTransaction(			SIPRequest notifyMessage) {		synchronized (clientTransactions) {			Iterator it = clientTransactions.iterator();			String thisToTag = notifyMessage.getTo().getTag();			if (thisToTag == null)				return null;			Event eventHdr = (Event) notifyMessage.getHeader(EventHeader.NAME);			if (eventHdr == null)				return null;			while (it.hasNext()) {				SIPClientTransaction ct = (SIPClientTransaction) it.next();				//SIPRequest sipRequest = ct.getOriginalRequest();				String fromTag = ct.from.getTag();				Event hisEvent = ct.event;				// Event header is mandatory but some slopply clients				// dont include it.				if (hisEvent == null)					continue;				if (ct.method.equals(Request.SUBSCRIBE)						&& fromTag.equalsIgnoreCase(thisToTag)						&& hisEvent != null						&& eventHdr.match(hisEvent)						&& notifyMessage.getCallId().getCallId()								.equalsIgnoreCase(ct.callId.getCallId()))					return ct;			}		}		return null;	}