public interface NetAuthorizationHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
notifyAction(String actionName,
InetAddress inetAddress,
String macAddress,
int activityID)
Notifies the authorization handler that an action it
registered interest in has been received.
|
void |
notifyActivityEnd(int activityID)
Notifies the registered authorization handler that an
activity has ended.
|
boolean |
notifyActivityStart(InetAddress inetAddress,
String macAddress,
URL url,
int activityID)
Notifies the registered authorization handler that an
activity to access cable services has been started.
|
boolean notifyActivityStart(InetAddress inetAddress, String macAddress, URL url, int activityID)
inetAddress - IP address the transaction was sent from.macAddress - An empty string; this parameter is not used.url - The URL requested by the transaction.activityID - The unique identifier of the activity.void notifyActivityEnd(int activityID)
activityID - Unique identifier assigned to the activity and
passed to the notifyActivityStart method.boolean notifyAction(String actionName, InetAddress inetAddress, String macAddress, int activityID)
actionName - Name of the action received. Will match a name
in the actionNames parameter previously passed to
NetSecurityManager.setAuthorizationHandler(NetAuthorizationHandler, String[], boolean).inetAddress - IP address the transaction was sent from.macAddress - An empty string; this parameter is not used.activityID - The unique identifier of the activity if known. If
no activityID is associated with the transaction the
implementation SHALL pass a value of -1;Copyright © 2013 CableLabs. All Rights Reserved.