Package fr.dyade.aaa.agent
Class PoolNetwork.NetSession.NetworkInputStream
- java.lang.Object
-
- java.io.InputStream
-
- fr.dyade.aaa.agent.MessageInputStream
-
- fr.dyade.aaa.agent.BufferedMessageInputStream
-
- fr.dyade.aaa.agent.PoolNetwork.NetSession.NetworkInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- PoolNetwork.NetSession
final class PoolNetwork.NetSession.NetworkInputStream extends BufferedMessageInputStream
Class used to read messages through a stream.
-
-
Field Summary
-
Fields inherited from class fr.dyade.aaa.agent.BufferedMessageInputStream
in
-
Fields inherited from class fr.dyade.aaa.agent.MessageInputStream
buf, compressedFlows, count, pos
-
-
Constructor Summary
Constructors Constructor Description NetworkInputStream(InputStream is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidreadHeader()Reads the protocol header from this output stream.-
Methods inherited from class fr.dyade.aaa.agent.BufferedMessageInputStream
clean, read, read, readFully
-
Methods inherited from class fr.dyade.aaa.agent.MessageInputStream
read, readInt, readMessage, readMessageHeader, readShort
-
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
NetworkInputStream
NetworkInputStream(InputStream is)
-
-
Method Detail
-
readHeader
protected void readHeader() throws IOExceptionReads the protocol header from this output stream.- Specified by:
readHeaderin classMessageInputStream- Throws:
IOException- an error occurs.
-
-