NonInviteServerTransaction constructor
NonInviteServerTransaction(
- PitelUA ua,
- Transport? transport,
- IncomingRequest request
Implementation
NonInviteServerTransaction(
PitelUA ua, Transport? transport, IncomingRequest request) {
id = request.via_branch;
this.ua = ua;
this.transport = transport;
this.request = request;
last_response = IncomingMessage();
request.server_transaction = this;
state = TransactionState.TRYING;
ua.newTransaction(this);
}