Package de.mid.innovator.net
Class InoNetReceiveImpl
java.lang.Object
de.mid.innovator.net.InoNetReceiveImpl
Helping class for receiving data from channel.
- Author:
- nagl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<byte[]> receive(SocketChannel ch, Socket socket) Read raw telegram from Channel
-
Constructor Details
-
InoNetReceiveImpl
public InoNetReceiveImpl()
-
-
Method Details
-
receive
public static List<byte[]> receive(SocketChannel ch, Socket socket) throws IOException, InoNetException Read raw telegram from Channel- Parameters:
ch- channelsocket- socket- Returns:
- bytes read
- Throws:
IOExceptionInoNetException
-