org.mbari.siam.distributed.platform
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.

Author:
Tom O'Reilly

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

Method Detail

start

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

Parameters:
port - device communications interface
args - command line arguments

stop

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.