Class LoggingBasicConnection
- java.lang.Object
-
- org.openmuc.jeebus.ship.shipconnection.LoggingBasicConnection
-
- All Implemented Interfaces:
BasicConnection
public class LoggingBasicConnection extends java.lang.Object implements BasicConnection
-
-
Constructor Summary
Constructors Constructor Description LoggingBasicConnection(java.util.function.Supplier<java.lang.String> logPrefix, org.slf4j.Logger log, BasicConnection delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidsendMsg(byte[] msg)
-
-
-
Constructor Detail
-
LoggingBasicConnection
public LoggingBasicConnection(java.util.function.Supplier<java.lang.String> logPrefix, org.slf4j.Logger log, BasicConnection delegate)
-
-
Method Detail
-
sendMsg
public void sendMsg(byte[] msg)
- Specified by:
sendMsgin interfaceBasicConnection
-
close
public void close()
- Specified by:
closein interfaceBasicConnection
-
-