|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openuat.channel.oob.ButtonChannel
org.openuat.channel.oob.TrafficLightToButtonChannel
public class TrafficLightToButtonChannel
This channel is a transfer channel. It transmits data
between devices with the help of visual signals, which are represented
as a traffic light. There are three states: red - do nothing,
yellow - prepare, green - act (press button on other device)
The yellow signal will be displayed for 350 ms and the green signal
will be displayed for 500 ms.
The smallest considered time unit for this channel is set to 1000 ms.
| Field Summary |
|---|
| Fields inherited from class org.openuat.channel.oob.ButtonChannel |
|---|
BITS_PER_INTERVAL, captureDisplayText, doRoundDown, impl, inputMode, logger, MESSAGE_LENGTH, messageHandler, minTimeUnit, minTimeUnit2, MODE_PRESS, MODE_PRESS_RELEASE, shortDescription, showFeedback, statisticsLogger, TOTAL_SIGNAL_COUNT, transmitDisplayText, useCarry |
| Fields inherited from interface org.openuat.authentication.OOBChannel |
|---|
AUDIO_CHANNEL, BUTTON_CHANNEL, VIDEO_CHANNEL |
| Constructor Summary | |
|---|---|
TrafficLightToButtonChannel(ButtonChannelImpl impl)
Creates a new instance of this channel. |
|
| Method Summary | |
|---|---|
void |
transmit(byte[] message)
Transmits provided data over this channel. |
| Methods inherited from class org.openuat.channel.oob.ButtonChannel |
|---|
buttonPressed, buttonReleased, bytesToIntervals, capture, intervalsToBytes, setOOBMessageHandler, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TrafficLightToButtonChannel(ButtonChannelImpl impl)
impl - A suitable ButtonChannelImpl instance
to handle platform dependent method calls.| Method Detail |
|---|
public void transmit(byte[] message)
message - The Data to be sent over this channel.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||