MCPcopy Create free account
hub / github.com/apache/skywalking-nodejs / Protocol

Interface Protocol

src/agent/protocol/Protocol.ts:23–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 * The transport protocol between the agent and the backend (OAP).
22 */
23export default interface Protocol {
24 isConnected: boolean;
25
26 heartbeat(): this;
27
28 report(): this;
29
30 flush(): Promise<any> | null;
31
32 destroy?(): void;
33}

Callers 5

startMethod · 0.65
startMethod · 0.65
flushMethod · 0.65
doneMethod · 0.65
destroyMethod · 0.65

Implementers 1

GrpcProtocolsrc/agent/protocol/grpc/GrpcProtocol.t

Calls

no outgoing calls

Tested by

no test coverage detected