public SIPDialog(SIPTransaction transaction) { this(); if (transaction == null) throw new NullPointerException("Null tx"); this.sipStack = transaction.sipStack;
private SIPDialog() { this.terminateOnBye = true; this.routeList = new RouteList(); this.dialogState = -1; localSequenceNumber = 0; remoteSequenceNumber = -1;
	public SIPDialog(SIPTransaction transaction) {		this();		if (transaction == null)			throw new NullPointerException("Null tx");		this.sipStack = transaction.sipStack;		// this.defaultRouter = new DefaultRouter((SipStack) sipStack,		// sipStack.outboundProxy);		this.sipProvider = (SipProviderImpl) transaction.getSipProvider();		if (sipProvider == null)			throw new NullPointerException("Null Provider!");		this.addTransaction(transaction);		if (sipStack.isLoggingEnabled()) {			sipStack.logWriter.logDebug("Creating a dialog : " + this);			sipStack.logWriter.logDebug("provider port = "					+ this.sipProvider.getListeningPoint().getPort());			sipStack.logWriter.logStackTrace();		}	}