Implement reconnection and ping-pong between cloud services. Make
[iotivity.git] / cloud / stack / src / main / java / org / iotivity / cloud / base / protocols / coap / PingMessage.java
1 package org.iotivity.cloud.base.protocols.coap;
2
3 import org.iotivity.cloud.base.OICConstants;
4 import org.iotivity.cloud.base.protocols.enums.RequestMethod;
5
6 public final class PingMessage extends CoapRequest {
7     public PingMessage() {
8         super(RequestMethod.PUT);
9         setUriPath(OICConstants.KEEP_ALIVE_FULL_URI);
10     }
11
12     public static PingMessage build() {
13         return new PingMessage();
14     }
15 }
16