jmri.jmrix.lenz
Interface XNetPortController

All Superinterfaces:
PortAdapter
All Known Implementing Classes:
EliteAdapter, LI100Adapter, LI100Adapter, LI101Adapter, LIUSBAdapter, LIUSBServerAdapter, XNetNetworkPortController, XNetSerialPortController, XNetSimulatorAdapter, XNetSimulatorPortController, XnTcpAdapter, ZTC640Adapter

public interface XNetPortController
extends PortAdapter

interface for XNetPortController objects.

Author:
Paul Bender Copyright (C) 2010

Method Summary
 boolean okToSend()
          Can the port accept additional characters?
 void setOutputBufferEmpty(boolean s)
          We need a way to say if the output buffer is empty or not
 boolean status()
          Check that this object is ready to operate.
 
Methods inherited from interface jmri.jmrix.PortAdapter
configure, configureOption1, configureOption2, dispose, getCurrentOption1Setting, getCurrentOption2Setting, getCurrentPortName, getDisabled, getInputStream, getManufacturer, getOutputStream, getSystemConnectionMemo, option1Name, option2Name, setDisabled, setManufacturer, validOption1, validOption2
 

Method Detail

status

boolean status()
Check that this object is ready to operate. This is a question of configuration, not transient hardware status.

Specified by:
status in interface PortAdapter

okToSend

boolean okToSend()
Can the port accept additional characters? This might go false for short intervals, but it might also stick off if something goes wrong.


setOutputBufferEmpty

void setOutputBufferEmpty(boolean s)
We need a way to say if the output buffer is empty or not



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