iaik.tc.tss.impl.java.tddl
Class TcTddl

java.lang.Object
  extended by 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.


Constructor Summary
TcTddl()
           
 
Method Summary
abstract  void cancel()
           
abstract  void close()
           
abstract  void getCapability()
           
static TcTddl getInstance()
          The TDDL layer is implemented as a Singleton.
abstract  void getStatus()
           
abstract  boolean isOpen()
           
abstract  void open()
           
abstract  void powerManagement()
           
abstract  void powerManagementControl()
           
abstract  void setCapability()
           
abstract  void setStatus()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface iaik.tc.tss.impl.java.tddl.TcIStreamDest
transmitData
 

Constructor Detail

TcTddl

public TcTddl()
Method Detail

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