-
- All Superinterfaces:
HttpPolicy
- All Known Subinterfaces:
AgentPolicy
,AgentRoutePolicy
,DownlinkPolicy
,LanePolicy
,PlanePolicy
,UplinkPolicy
- All Known Implementing Classes:
AbstractPolicy
public interface Policy extends HttpPolicy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyDirective<CommandMessage>
canDownlink(CommandMessage message, Identity identity)
PolicyDirective<LinkRequest>
canLink(LinkRequest request, Identity identity)
PolicyDirective<HttpMessage<?>>
canRequest(HttpRequest<?> request)
PolicyDirective<HttpResponse<?>>
canRespond(HttpRequest<?> request, HttpResponse<?> response)
PolicyDirective<SyncRequest>
canSync(SyncRequest request, Identity identity)
PolicyDirective<EventMessage>
canUplink(EventMessage message, Identity identity)
-
-
-
Method Detail
-
canLink
PolicyDirective<LinkRequest> canLink(LinkRequest request, Identity identity)
-
canSync
PolicyDirective<SyncRequest> canSync(SyncRequest request, Identity identity)
-
canUplink
PolicyDirective<EventMessage> canUplink(EventMessage message, Identity identity)
-
canDownlink
PolicyDirective<CommandMessage> canDownlink(CommandMessage message, Identity identity)
-
canRequest
PolicyDirective<HttpMessage<?>> canRequest(HttpRequest<?> request)
- Specified by:
canRequest
in interfaceHttpPolicy
-
canRespond
PolicyDirective<HttpResponse<?>> canRespond(HttpRequest<?> request, HttpResponse<?> response)
- Specified by:
canRespond
in interfaceHttpPolicy
-
-