Class MoService

  • All Implemented Interfaces:
    java.lang.Runnable

    public class MoService
    extends java.lang.Object
    implements java.lang.Runnable
    • Constructor Summary

      Constructors 
      Constructor Description
      MoService​(java.lang.String filename, int deliverMessagesPerMin)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      private void runMoService()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        private static java.util.logging.Logger logger
      • smsc

        private Smsc smsc
      • messagesPerMin

        private int messagesPerMin
      • moServiceRunning

        boolean moServiceRunning
      • deliveryFile

        java.lang.String deliveryFile
    • Constructor Detail

      • MoService

        public MoService​(java.lang.String filename,
                         int deliverMessagesPerMin)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • runMoService

        private void runMoService()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception