| AVR Z-LINKŪ |

# radioInterface.TimeOut Class Reference

Collaboration diagram for radioInterface.TimeOut:

[legend]
List of all members.

## Detailed Description

This class defines a TimerTask that is used to ensure that the radio answers any request/command within a specified time.

See also:
  RadioInterface

Application note:
  AVR414: User's Guide - ATAVRRZ502 - Accessory Kit

Author:
  Atmel Corporation: http://www.atmel.com
  Support email: avr@atmel.com

Name
  vkbakken

Revision
  1.5

RCSfile
  code_header_template_CVS_DOXYGEN.txt,v

Date
  2006/04/07 12:40:07

Definition at line 26 of file TimeOut.java.

## Public Member Functions
void | run ()
| Method that any thread must include.
void | setCaller (RadioInterface myCaller)
| Used by the RadioInterface to set itself as the thread "owner".

## Member Function Documentation

void radioInterface.TimeOut.run | ( |  | ) |

Method that any thread must include.

Method is used to set the CommandTimedOut variable of the RadioInterface class. This variable is polled by the sendCommandToRadio function.

Definition at line 38 of file TimeOut.java.

References radioInterface.RadioInterface.setCommandTimedOut().

    00038                           {
    00039                 caller.setCommandTimedOut( );
    00040         }

Here is the call graph for this function:

void radioInterface.TimeOut.setCaller | ( | RadioInterface | myCaller | ) |

Used by the RadioInterface to set itself as the thread "owner".

After this function is called by the RadioInterface it is possible for the TimeOut thread to indicate that a command timedout (run).

Parameters:

  | myCaller | RadioInterface instance that started the timer.

Definition at line 55 of file TimeOut.java.

    00055                                                         {
    00056
    00057                 caller = myCaller;
    00058         }

@DOC_TITLE@