gov.nist.javax.sip.parser
Class Pipeline
java.lang.Object
java.io.InputStream
gov.nist.javax.sip.parser.Pipeline
- All Implemented Interfaces:
- Closeable
public class Pipeline
- extends InputStream
Input class for the pipelined parser. Buffer all bytes read from the socket
and make them available to the message parser.
- Author:
- M. Ranganathan (Contains a bug fix contributed by Rob Daugherty (
Lucent Technologies) )
Pipeline
public Pipeline(InputStream pipe,
int readTimeout,
Timer timer)
startTimer
public void startTimer()
stopTimer
public void stopTimer()
write
public void write(byte[] bytes,
int start,
int length)
throws IOException
- Throws:
IOException
write
public void write(byte[] bytes)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class InputStream
- Throws:
IOException
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.