Class UpdatePeerStatus
java.lang.Object
net.lightapi.portal.covid.command.handler.UpdatePeerStatus
- All Implemented Interfaces:
com.networknt.rpc.HybridHandler
This handler updates the status for the peer on the map. We encourage owner to update
its status; however, a lot of customers who are waiting to enter the grocery store
might eager to update the status to avoid other people to join the line. This give us
more updaters than the owners. We might give incentives to the users who are updating.
or enable a hyper link to the update user to his/her website.
- Author:
- Steve Hu
-
Field Summary
Fields inherited from interface com.networknt.rpc.HybridHandler
ERROR_NOT_DEFINED, REQUEST_SUCCESS, STATUS_VALIDATION_ERROR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.networknt.rpc.HybridHandler
getStatus, getStatus, validate
-
Constructor Details
-
UpdatePeerStatus
public UpdatePeerStatus()
-
-
Method Details
-
handle
- Specified by:
handlein interfacecom.networknt.rpc.HybridHandler
-