public class Protocol extends BinaryProtocol
| Modifier and Type | Class and Description |
|---|---|
class |
Protocol.Done
Message from client indicating it's done with all the files it needs and
that the connection can be terminated.
|
class |
Protocol.FeederInfoReq |
class |
Protocol.FeederInfoResp |
class |
Protocol.FileEnd
The message ending the response triple:
FileStart byte stream FileEnd
|
class |
Protocol.FileInfoReq
Requests information about a specific log file.
|
class |
Protocol.FileInfoResp |
class |
Protocol.FileListReq |
class |
Protocol.FileListResp |
class |
Protocol.FileReq
Requests that a specific file be sent to the client.
|
class |
Protocol.FileStart
The message starting the response triple:
FileStart byte stream FileEnd
|
BinaryProtocol.ClientVersion, BinaryProtocol.IncompatibleVersion, BinaryProtocol.Message, BinaryProtocol.MessageOp, BinaryProtocol.ProtocolError, BinaryProtocol.ProtocolException, BinaryProtocol.RejectMessage, BinaryProtocol.ServerVersion, BinaryProtocol.SimpleMessageCLIENT_VERSION, codeVersion, configuredVersion, envImpl, formatter, header, INCOMPATIBLE_VERSION, logger, MESSAGE_HEADER_SIZE, nameIdPair, nBytesRead, nBytesWritten, nEntriesWrittenOldVersion, nMessageBatches, nMessagesBatched, nMessagesRead, nMessagesWritten, nReadNanos, nWriteNanos, PROTOCOL_ERROR, SERVER_VERSION, stats| Constructor and Description |
|---|
Protocol(NameIdPair nameIdPair,
int configuredVersion,
EnvironmentImpl envImpl) |
bufferWrite, flushBufferedWrites, getPredefinedMessageCount, getStats, getString, getVersion, initializeMessageOps, messageCount, putString, read, read, resetStats, stringSize, write, writepublic static final int VERSION
public final BinaryProtocol.MessageOp FEEDER_INFO_REQ
public final BinaryProtocol.MessageOp FEEDER_INFO_RESP
public final BinaryProtocol.MessageOp FILE_LIST_REQ
public final BinaryProtocol.MessageOp FILE_LIST_RESP
public final BinaryProtocol.MessageOp FILE_REQ
public final BinaryProtocol.MessageOp FILE_START
public final BinaryProtocol.MessageOp FILE_END
public final BinaryProtocol.MessageOp FILE_INFO_REQ
public final BinaryProtocol.MessageOp FILE_INFO_RESP
public final BinaryProtocol.MessageOp DONE
public Protocol(NameIdPair nameIdPair, int configuredVersion, EnvironmentImpl envImpl)
Copyright © 2024. All rights reserved.