Revision: b15083d22f5a
Author: Sergey Vetyutnev <[email protected]>
Date: Wed Jun 26 01:00:08 2013
Log: adding "throws Exception" into MAPStack/CAPStack.start()
http://code.google.com/p/jss7/source/detail?r=b15083d22f5a
Modified:
/cap/cap-api/src/main/java/org/mobicents/protocols/ss7/cap/api/CAPStack.java
/cap/cap-impl/src/main/java/org/mobicents/protocols/ss7/cap/CAPStackImpl.java
/map/load/src/main/java/org/mobicents/protocols/ss7/map/load/Client.java
/map/load/src/main/java/org/mobicents/protocols/ss7/map/load/Server.java
/map/load/src/main/java/org/mobicents/protocols/ss7/map/loadDialogic/ClientDialogic.java
/map/map-api/src/main/java/org/mobicents/protocols/ss7/map/api/MAPStack.java
/map/map-impl/src/main/java/org/mobicents/protocols/ss7/map/MAPStackImpl.java
/tcap/tcap-api/src/main/java/org/mobicents/protocols/ss7/tcap/api/TCAPStack.java
/tcap/tcap-impl/src/main/java/org/mobicents/protocols/ss7/tcap/TCAPStackImpl.java
/tools/simulator/core/src/main/java/org/mobicents/protocols/ss7/tools/simulator/level3/CapMan.java
/tools/simulator/core/src/main/java/org/mobicents/protocols/ss7/tools/simulator/level3/MapMan.java
=======================================
---
/cap/cap-api/src/main/java/org/mobicents/protocols/ss7/cap/api/CAPStack.java
Mon May 20 13:09:00 2013
+++
/cap/cap-api/src/main/java/org/mobicents/protocols/ss7/cap/api/CAPStack.java
Wed Jun 26 01:00:08 2013
@@ -35,7 +35,7 @@
void stop();
- void start() throws IllegalStateException;
+ void start() throws Exception;
TCAPStack getTCAPStack();
=======================================
---
/cap/cap-impl/src/main/java/org/mobicents/protocols/ss7/cap/CAPStackImpl.java
Mon May 20 13:09:00 2013
+++
/cap/cap-impl/src/main/java/org/mobicents/protocols/ss7/cap/CAPStackImpl.java
Wed Jun 26 01:00:08 2013
@@ -62,7 +62,7 @@
}
@Override
- public void start() throws IllegalStateException {
+ public void start() throws Exception {
if (state != State.CONFIGURED) {
throw new IllegalStateException("Stack has not been configured
or is already running!");
}
=======================================
---
/map/load/src/main/java/org/mobicents/protocols/ss7/map/load/Client.java
Mon May 20 13:09:00 2013
+++
/map/load/src/main/java/org/mobicents/protocols/ss7/map/load/Client.java
Wed Jun 26 01:00:08 2013
@@ -171,7 +171,7 @@
this.sccpStack.getRouter().addMtp3Destination(1, 1, SERVET_SPC,
SERVET_SPC, 0, 255, 255);
}
- private void initTCAP() {
+ private void initTCAP() throws Exception {
this.tcapStack = new
TCAPStackImpl(this.sccpStack.getSccpProvider(), SSN);
this.tcapStack.setDialogIdleTimeout(60000);
this.tcapStack.setInvokeTimeout(30000);
@@ -179,7 +179,7 @@
this.tcapStack.start();
}
- private void initMAP() {
+ private void initMAP() throws Exception {
System.out.println("initMAP");
=======================================
---
/map/load/src/main/java/org/mobicents/protocols/ss7/map/load/Server.java
Mon May 20 13:09:00 2013
+++
/map/load/src/main/java/org/mobicents/protocols/ss7/map/load/Server.java
Wed Jun 26 01:00:08 2013
@@ -158,7 +158,7 @@
this.sccpStack.getRouter().addMtp3Destination(1, 1, CLIENT_SPC,
CLIENT_SPC, 0, 255, 255);
}
- private void initMAP() {
+ private void initMAP() throws Exception {
this.mapStack = new MAPStackImpl(this.sccpStack.getSccpProvider(),
SSN);
this.mapProvider = this.mapStack.getMAPProvider();
=======================================
---
/map/load/src/main/java/org/mobicents/protocols/ss7/map/loadDialogic/ClientDialogic.java
Mon May 20 13:09:00 2013
+++
/map/load/src/main/java/org/mobicents/protocols/ss7/map/loadDialogic/ClientDialogic.java
Wed Jun 26 01:00:08 2013
@@ -145,7 +145,7 @@
this.sccpStack.getRouter().addMtp3Destination(1, 1, SERVET_SPC,
SERVET_SPC, 0, 255, 255);
}
- private void initMAP() {
+ private void initMAP() throws Exception {
System.out.println("initMAP");
=======================================
---
/map/map-api/src/main/java/org/mobicents/protocols/ss7/map/api/MAPStack.java
Mon May 20 13:09:00 2013
+++
/map/map-api/src/main/java/org/mobicents/protocols/ss7/map/api/MAPStack.java
Wed Jun 26 01:00:08 2013
@@ -35,7 +35,7 @@
void stop();
- void start() throws IllegalStateException;
+ void start() throws Exception;
TCAPStack getTCAPStack();
=======================================
---
/map/map-impl/src/main/java/org/mobicents/protocols/ss7/map/MAPStackImpl.java
Mon May 20 13:09:00 2013
+++
/map/map-impl/src/main/java/org/mobicents/protocols/ss7/map/MAPStackImpl.java
Wed Jun 26 01:00:08 2013
@@ -61,7 +61,7 @@
return this.mapProvider;
}
- public void start() throws IllegalStateException {
+ public void start() throws Exception {
if (state != State.CONFIGURED) {
throw new IllegalStateException("Stack has not been configured
or is already running!");
}
=======================================
---
/tcap/tcap-api/src/main/java/org/mobicents/protocols/ss7/tcap/api/TCAPStack.java
Tue Jun 25 06:42:45 2013
+++
/tcap/tcap-api/src/main/java/org/mobicents/protocols/ss7/tcap/api/TCAPStack.java
Wed Jun 26 01:00:08 2013
@@ -47,9 +47,9 @@
* @throws StartFailedException
*/
void start() throws Exception;
-
-
- public boolean isStarted();
+
+
+ boolean isStarted();
/**
* Sets millisecond value for dialog timeout. It specifies how long
dialog can be idle - not receive/send any messages.
=======================================
---
/tcap/tcap-impl/src/main/java/org/mobicents/protocols/ss7/tcap/TCAPStackImpl.java
Tue Jun 25 06:42:45 2013
+++
/tcap/tcap-impl/src/main/java/org/mobicents/protocols/ss7/tcap/TCAPStackImpl.java
Wed Jun 26 01:00:08 2013
@@ -31,7 +31,7 @@
/**
* @author amit bhayani
* @author baranowb
- *
+ *
*/
public class TCAPStackImpl implements TCAPStack {
@@ -114,7 +114,7 @@
/*
* (non-Javadoc)
- *
+ *
* @see org.mobicents.protocols.ss7.tcap.api.TCAPStack#getProvider()
*/
public TCAPProvider getProvider() {
@@ -124,7 +124,7 @@
/*
* (non-Javadoc)
- *
+ *
* @see
org.mobicents.protocols.ss7.tcap.api.TCAPStack#setDialogIdleTimeout(long)
*/
public void setDialogIdleTimeout(long v) {
@@ -143,7 +143,7 @@
/*
* (non-Javadoc)
- *
+ *
* @see
org.mobicents.protocols.ss7.tcap.api.TCAPStack#getDialogIdleTimeout()
*/
public long getDialogIdleTimeout() {
@@ -152,7 +152,7 @@
/*
* (non-Javadoc)
- *
+ *
* @see
org.mobicents.protocols.ss7.tcap.api.TCAPStack#setInvokeTimeout(long)
*/
public void setInvokeTimeout(long v) {
@@ -169,7 +169,7 @@
/*
* (non-Javadoc)
- *
+ *
* @see
org.mobicents.protocols.ss7.tcap.api.TCAPStack#getInvokeTimeout()
*/
public long getInvokeTimeout() {
=======================================
---
/tools/simulator/core/src/main/java/org/mobicents/protocols/ss7/tools/simulator/level3/CapMan.java
Mon May 20 13:09:00 2013
+++
/tools/simulator/core/src/main/java/org/mobicents/protocols/ss7/tools/simulator/level3/CapMan.java
Wed Jun 26 01:00:08 2013
@@ -129,7 +129,7 @@
public void execute() {
}
- private void initCap(SccpStack sccpStack, int ssn) {
+ private void initCap(SccpStack sccpStack, int ssn) throws Exception {
this.capStack = new CAPStackImpl(sccpStack.getSccpProvider(), ssn);
this.capStack.start();
=======================================
---
/tools/simulator/core/src/main/java/org/mobicents/protocols/ss7/tools/simulator/level3/MapMan.java
Mon May 20 13:09:00 2013
+++
/tools/simulator/core/src/main/java/org/mobicents/protocols/ss7/tools/simulator/level3/MapMan.java
Wed Jun 26 01:00:08 2013
@@ -260,7 +260,7 @@
public void execute() {
}
- private void initMap(SccpStack sccpStack, int ssn) {
+ private void initMap(SccpStack sccpStack, int ssn) throws Exception {
this.mapStack = new MAPStackImpl(sccpStack.getSccpProvider(), ssn);
this.mapStack.start();
--
---
You received this message because you are subscribed to the Google Groups "mobicents-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.