jmri.jmrix.can
Interface CanFrame

All Known Subinterfaces:
CanMutableFrame
All Known Implementing Classes:
CanMessage, CanReply

@Immutable
public interface CanFrame

Base interface for immutable messages in a CANbus based message/reply protocol.

It is expected that any CAN based system will be based upon basic CAN concepts such as ID/header (standard or extended), Normal and RTR frames and a data field.

"header" refers to the full 11 or 29 bit header; which mode is separately set via the "extended" parameter

Author:
Bob Jacobsen Copyright (C) 2008, 2009, 2010

Method Summary
 int getElement(int n)
           
 int getHeader()
           
 int getNumDataElements()
           
 boolean isExtended()
           
 boolean isRtr()
           
 

Method Detail

getHeader

int getHeader()

isExtended

boolean isExtended()

isRtr

boolean isRtr()

getNumDataElements

int getNumDataElements()

getElement

int getElement(int n)


Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads