iaik.tc.tss.impl.java.tddl
Class TcTddl
java.lang.Object
iaik.tc.tss.impl.java.tddl.TcTddl
- All Implemented Interfaces:
- TcIStreamDest
- Direct Known Subclasses:
- TcTddlLinux, TcTddlSocket, TcTddlVista
public abstract class TcTddl
- extends java.lang.Object
- implements TcIStreamDest
This class defines the interface to be implemented by the TDDL layer
according to the TSS specification. The set of functions can be split into 2
parts: Those functions absolutely required if the TDDL is used by a TSS (the
functions comprise open, isOpen, transmit and close) and the functions that
are required if the TDDL is used as a standalone facility. These functions
comprise the remaining TDDL functions specified by the TSS specification. For
that reason, TDDL implementations might be limited to the aforementioned set
of absolutely required functions.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcTddl
public TcTddl()
getInstance
public static TcTddl getInstance()
throws TcTddlException
- The TDDL layer is implemented as a Singleton. This method returns the
instance of the TDDL.
- Returns:
- TDDL instance.
- Throws:
TcTddlException
- This exception is thrown if no TDDL implementation that fits
the underlying operating system could be found.
open
public abstract void open()
throws TcTddlException
- Throws:
TcTddlException
isOpen
public abstract boolean isOpen()
close
public abstract void close()
throws TcTddlException
- Throws:
TcTddlException
cancel
public abstract void cancel()
throws TcTddlException
- Throws:
TcTddlException
getCapability
public abstract void getCapability()
throws TcTddlException
- Throws:
TcTddlException
setCapability
public abstract void setCapability()
throws TcTddlException
- Throws:
TcTddlException
getStatus
public abstract void getStatus()
throws TcTddlException
- Throws:
TcTddlException
setStatus
public abstract void setStatus()
throws TcTddlException
- Throws:
TcTddlException
powerManagement
public abstract void powerManagement()
throws TcTddlException
- Throws:
TcTddlException
powerManagementControl
public abstract void powerManagementControl()
throws TcTddlException
- Throws:
TcTddlException