Class LengthPrependedFileConsumerEngine
- java.lang.Object
-
- io.gridgo.connector.file.support.engines.LengthPrependedFileConsumerEngine
-
- All Implemented Interfaces:
FileConsumerEngine,io.gridgo.connector.support.FormattedMarshallable
public class LengthPrependedFileConsumerEngine extends java.lang.Object implements FileConsumerEngine
-
-
Constructor Summary
Constructors Constructor Description LengthPrependedFileConsumerEngine(FileConsumer fileConsumer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFormat()voidreadAndPublish()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.gridgo.connector.file.support.engines.FileConsumerEngine
deserialize
-
-
-
-
Constructor Detail
-
LengthPrependedFileConsumerEngine
public LengthPrependedFileConsumerEngine(FileConsumer fileConsumer)
-
-
Method Detail
-
readAndPublish
public void readAndPublish()
- Specified by:
readAndPublishin interfaceFileConsumerEngine
-
getFormat
public java.lang.String getFormat()
- Specified by:
getFormatin interfaceio.gridgo.connector.support.FormattedMarshallable
-
-