org.opennms.rxtx.test.internal
Class LoopbackEventTest.SerialEventHandler

java.lang.Object
  extended by org.opennms.rxtx.test.internal.LoopbackEventTest.SerialEventHandler
All Implemented Interfaces:
gnu.io.SerialPortEventListener, EventListener
Enclosing class:
LoopbackEventTest

public static class LoopbackEventTest.SerialEventHandler
extends Object
implements gnu.io.SerialPortEventListener


Constructor Summary
LoopbackEventTest.SerialEventHandler(InputStream inStream, int readBufferLen)
           
 
Method Summary
 String getReadBuffer()
           
 boolean isBufferFull()
           
static void main(String[] args)
           
 void serialEvent(gnu.io.SerialPortEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoopbackEventTest.SerialEventHandler

public LoopbackEventTest.SerialEventHandler(InputStream inStream,
                                            int readBufferLen)
Method Detail

isBufferFull

public boolean isBufferFull()

getReadBuffer

public String getReadBuffer()

serialEvent

public void serialEvent(gnu.io.SerialPortEvent event)
Specified by:
serialEvent in interface gnu.io.SerialPortEventListener

main

public static void main(String[] args)


Copyright © 2011. All Rights Reserved.