Revision: 82927a7f8ee2
Author: Sergey Vetyutnev <[email protected]>
Date: Tue Jan 8 04:45:39 2013
Log: Update a TCAP test for a manual
http://code.google.com/p/jss7/source/detail?r=82927a7f8ee2
Modified:
/tcap/tcap-impl/src/test/java/org/mobicents/protocols/ss7/tcap/ClientTest.java
=======================================
---
/tcap/tcap-impl/src/test/java/org/mobicents/protocols/ss7/tcap/ClientTest.java
Tue Jan 8 04:39:16 2013
+++
/tcap/tcap-impl/src/test/java/org/mobicents/protocols/ss7/tcap/ClientTest.java
Tue Jan 8 04:45:39 2013
@@ -65,7 +65,8 @@
invoke.setOperationCode(oc);
// no parameter
this.clientDialog.sendComponent(invoke);
- ApplicationContextName acn =
this.tcapProvider.getDialogPrimitiveFactory().createApplicationContextName(_ACN_);
+ ApplicationContextName acn =
this.tcapProvider.getDialogPrimitiveFactory()
+ .createApplicationContextName(_ACN_);
// UI is optional!
TCBeginRequest tcbr =
this.tcapProvider.getDialogPrimitiveFactory().createBegin(this.clientDialog);
tcbr.setApplicationContextName(acn);
@@ -118,8 +119,10 @@
}
public static void main(String[] args) {
- SccpAddress localAddress = new
SccpAddress(RoutingIndicator.ROUTING_BASED_ON_DPC_AND_SSN, 1, null, 8);
- SccpAddress remoteAddress = new
SccpAddress(RoutingIndicator.ROUTING_BASED_ON_DPC_AND_SSN, 2, null, 8);
+ SccpAddress localAddress = new
SccpAddress(RoutingIndicator.ROUTING_BASED_ON_DPC_AND_SSN, 1,
+ null, 8);
+ SccpAddress remoteAddress = new
SccpAddress(RoutingIndicator.ROUTING_BASED_ON_DPC_AND_SSN, 2,
+ null, 8);
try {
ClientTest c = new ClientTest(getSccpProvider(), localAddress,
remoteAddress);
} catch (NamingException e) {