* User file can be specified using usersFileName property, e.g.: -DusersFileName=/my/path/to/users.txt
*
SMSCListener.
- * An instance of the SimulatorPDUProcessor is created
+ * An instance of the SimulatorPDUProcessor is created
* and this instance is passed to the SMSCListener which is started
* just after.
*/
protected void start() throws IOException {
if (smscListener == null) {
- System.out.print("Enter port number> ");
- int port = Integer.parseInt(keyboard.readLine());
- System.out.print("Starting listener... ");
+ // System.out.print("Enter port number> ");
+ // int port = Integer.parseInt(keyboard.readLine());
+ // System.out.print("Starting listener... ");
+ System.out.print("Listening on port 2775 ");
+ int port = 2775;
smscListener = new SMSCListenerImpl(port, true);
processors = new PDUProcessorGroup();
messageStore = new ShortMessageStore();
@@ -343,7 +346,7 @@ protected void listClients() {
/**
* Permits data to be sent to a specific client.
- * With the id of the client set by the user, the method sendMessage
+ * With the id of the client set by the user, the method sendMessage
* gets back the specific reference to the client's PDUProcessor.
* With this reference you are able to send data to the client.
*/
@@ -399,7 +402,7 @@ protected void sendMessage() throws IOException {
* Revision 1.1 2003/07/23 00:28:39 sverkera
* Imported
*
- *
+ *
* Old changelog:
* 20-09-01 ticp@logica.com added support for sending of delivery info
* 26-09-01 ticp@logica.com debug now in a group
diff --git a/sim/users.txt b/sim/users.txt
index 7c29b8c..15e37d4 100644
--- a/sim/users.txt
+++ b/sim/users.txt
@@ -19,9 +19,16 @@
# "peter" and " peter".
-# Pavel can bound for unlimited time as any type
-name=pavel
-password=dfsew
+name=smppclient1
+password=password
+timeout=unlimited
+
+name=smppclient2
+password=password
+timeout=unlimited
+
+name=smppclient3
+password=password
timeout=unlimited