com.sentilla.net.mimeo
Class Mimeo
java.lang.Object
com.sentilla.system.DriverAdapter
com.sentilla.net.mimeo.Mimeo
- All Implemented Interfaces:
- Driver
- Direct Known Subclasses:
- MimeoTmote
public class Mimeo
- extends DriverAdapter
Private: for Sentilla internal use only.
Implementation of network application dissemination.
Constructor Summary |
Mimeo()
|
manifest
protected ManifestImage manifest
keep_running
protected boolean keep_running
random
protected Random random
Mimeo
public Mimeo()
stop
public void stop()
- Cause run() method to return.
This mehtod will block until the run() method has returned.
addFactory
public void addFactory(MimeoImageFactory f)
enableSendMessages
public void enableSendMessages(boolean doSend)
shareImage
protected void shareImage(int shareImageIndex)
runHook
protected void runHook()
runRunHook
protected void runRunHook()
configureTiming
public void configureTiming()
- Trigger Mimeo to tune itself for the radio environment.
Mimeo's performance is optimized for different transmit times. Transmit times may vary
because of settings such as low power listening.
getManifestAutoCompleteTimeout
public static int getManifestAutoCompleteTimeout()
getRequestMinimumTimeout
protected int getRequestMinimumTimeout()
getShareInitRandomTimeout
protected int getShareInitRandomTimeout()
run
public void run()
getDriverName
public String getDriverName(int n)
- Description copied from class:
DriverAdapter
- Returns the valid name(s) for
each driver. If a driver has N-names, then
getDriverName
returns a
string for n=0 to n=N-1, and returns null for all other values of n.
A driver may return multiple names because it provides the default
implementation for a specific name, such as associating "flash" by
default to the external flash, or "extflash" if an application
specifically asserts it requires the external flash resources. Some
drivers may return only a single valid name, such as "intflash" for
the internal flash.
- Specified by:
getDriverName
in interface Driver
- Specified by:
getDriverName
in class DriverAdapter
Copyright © 2007 Sentilla Corporation. All Rights Reserved.