Package com.arms.api.dwralarm.controller

## Class AlarmController

- java.lang.Object
- - com.arms.api.dwralarm.controller.AlarmController

-     @RestController
      @RequestMapping("/arms/alarm")
      public class AlarmController
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `AlarmController()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `org.springframework.http.ResponseEntity<CommonResponse.ApiResult<java.lang.String>>` | `sendMessage​(java.lang.String message)` |
    `org.springframework.http.ResponseEntity<CommonResponse.ApiResult<java.lang.String>>` | `sendMessageByServer​(java.lang.String message)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AlarmController

          public AlarmController()

  - ### Method Detail

    - #### sendMessage

          @PostMapping("/send-message")
          public org.springframework.http.ResponseEntity<CommonResponse.ApiResult<java.lang.String>> sendMessage​(@RequestParam("message")
                                                                                                                 java.lang.String message)

    - #### sendMessageByServer

          @PostMapping("/send-message/server")
          public org.springframework.http.ResponseEntity<CommonResponse.ApiResult<java.lang.String>> sendMessageByServer​(@RequestParam("message")
                                                                                                                         java.lang.String message)