sigmlinlib
Class SiGMLInputService
java.lang.Object
sigmlinlib.SiGMLInputService
public class SiGMLInputService
- extends java.lang.Object
SiGML input service management: sets up the service input and
termination ports, accepts input and passes it on to a given
BytesBlockStreamHandler
until a termination signal is
received.
Constructor Summary |
SiGMLInputService(boolean rprt,
int inport,
int stopport,
BytesBlockStreamHandler bhndlr)
Starts a new SiGML input service, with the given reporting flag,
using the given input and termination TCP/IP port numbers,
and communicating input and other service life-cycle events to
the given handler. |
Method Summary |
void |
shutDown(boolean wait)
Shuts down the input service, waiting for termination of
the input thread or not, as specified by wait . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SiGMLInputService
public SiGMLInputService(boolean rprt,
int inport,
int stopport,
BytesBlockStreamHandler bhndlr)
throws java.io.IOException
- Starts a new SiGML input service, with the given reporting flag,
using the given input and termination TCP/IP port numbers,
and communicating input and other service life-cycle events to
the given handler.
- Throws:
java.io.IOException
shutDown
public void shutDown(boolean wait)
throws java.io.IOException
- Shuts down the input service, waiting for termination of
the input thread or not, as specified by
wait
.
- Throws:
java.io.IOException