com.sentilla.platform.cmote
Class ByteReceiverDriver
java.lang.Object
com.sentilla.system.DriverAdapter
com.sentilla.net.ByteReceiverDriver
com.sentilla.platform.cmote.ByteReceiverDriver
- All Implemented Interfaces:
- Driver
public class ByteReceiverDriver
- extends ByteReceiverDriver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteReceiverDriver
public ByteReceiverDriver()
newByteReceiver
public ByteReceiver newByteReceiver(int port)
- Description copied from class:
ByteReceiverDriver
- Returns a new ByteReceiver that receives on the input port.
- Specified by:
newByteReceiver
in class ByteReceiverDriver
- Parameters:
port
- the port to receive messages on
- Returns:
- a ByteReceiver object
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.