camodule.java

来自「MHP java class for Interactive TV use」· Java 代码 · 共 112 行

JAVA
112
字号

package org.davic.net.ca;


public abstract class CAModule extends java.lang.Object {

	public static final int CA0 = 1;


	public static final int CA1 = 2;


	public static final int PROPRIETARY = 3;


	public static final int ENTITLEMENT_UNKNOWN = 4;


	public static final int ENTITLEMENT_AVAILABLE = 5;


	public static final int ENTITLEMENT_NOT_AVAILABLE = 6;


	public static final int MMI_DIALOGUE_REQUIRED = 7;


	private int slotNumber;
	private int[] cASystemIDs;
	private int moduleType;
	private java.lang.String applicationTitle;


	public int queryEntitlement(org.davic.net.Locator locator) throws CAException, org.davic.net.InvalidLocatorException {
		return 0;

	}


	public int buyEntitlement(org.davic.net.Locator locator) throws CAException {
		return 0;

	}


	public java.lang.String[] listEntitlements() throws CAException {
		return null;

	}


	public boolean isConnectable(org.davic.mpeg.TransportStream ts) throws CAException {
		return false;

	}


	public int getSlotNumber() throws CAException {
		return this.slotNumber;
	}


	public boolean isDescramblable(org.davic.mpeg.Service s) throws CAException {
		return false;

	}


	public boolean isDescramblable(org.davic.mpeg.ElementaryStream[] streams) throws CAException {
		return false;

	}


	public int[] getCASystemIDs() throws CAException {
		return this.cASystemIDs;
	}


	public int getModuleType() throws CAException {
		return this.moduleType;
	}


	public int openMessageSession( MessageListener listener) throws CAException {
		return 0;

	}


	public void closeMessageSession(int session_id) throws CAException {
	}


	public void sendToModule(int session_id, CAMessage msg) throws CAException {
	}


	public java.lang.String getApplicationTitle() throws ModuleUnavailableException {
		return this.applicationTitle;
	}


	public void enterApplication() throws ModuleUnavailableException {
	}


	public void closeMMI() throws ModuleUnavailableException {
	}

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?