Interface PortService

public interface PortService

Interface for services which interact with a device through a CommPort interface.

NOTE: PortService implementation constructors are not allowed to take arguments.

Tom O'Reilly

Method Summary
 void start( port, java.lang.String[] args)
          Start the service on the specified CommPort.
 void stop()
          Stop the service.

Method Detail


void start( port,
           java.lang.String[] args)
Start the service on the specified CommPort.

port - device communications interface
args - command line arguments


void stop()
Stop the service.

Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.