Class RawIpSocket
- java.lang.Object
-
- org.apache.plc4x.java.utils.rawsockets.attic.RawIpSocket
-
public class RawIpSocket extends Object
-
-
Constructor Summary
Constructors Constructor Description RawIpSocket(int protocolNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddListener(RawSocketListener listener)voidconnect(String remoteAddress)voiddisconnect()voidremoveListener(RawSocketListener listener)voidwrite(byte[] rawData)
-
-
-
Method Detail
-
connect
public void connect(String remoteAddress) throws PcapException
- Throws:
PcapException
-
disconnect
public void disconnect() throws PcapException- Throws:
PcapException
-
write
public void write(byte[] rawData) throws PcapException- Throws:
PcapException
-
addListener
public void addListener(RawSocketListener listener)
-
removeListener
public void removeListener(RawSocketListener listener)
-
-