superwaba.ext.xplat.io
Class SerialSocketServer

java.lang.Object
  |
  +--superwaba.ext.xplat.io.SerialSocketServer

public class SerialSocketServer
extends Object

Proxy for Serial Socket Created by Rick Grehan and ported to SuperWaba by Guich.


Field Summary
static byte CLOSE
           
static byte CREATE
           
static byte READ
           
static byte WRITE
           
 
Constructor Summary
SerialSocketServer(int port, int baud)
          Construct a serial server to listen at port using baud rate
 
Method Summary
 void close()
           
 void create()
           
 void listen()
           
static void main(String[] args)
           
 void readBytes()
           
 void writeBytes()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, toString, wait, wait
 

Field Detail

CREATE

public static final byte CREATE

READ

public static final byte READ

WRITE

public static final byte WRITE

CLOSE

public static final byte CLOSE
Constructor Detail

SerialSocketServer

public SerialSocketServer(int port,
                          int baud)
Construct a serial server to listen at port using baud rate
Method Detail

create

public void create()

readBytes

public void readBytes()

writeBytes

public void writeBytes()

close

public void close()

listen

public void listen()

main

public static void main(String[] args)