Graphite class

A client to a Carbon server via TCP.

Implemented types

Constructors

Graphite(dynamic host, int port)
Creates a new client which connects to the given address.

Properties

failures int
Returns the number of failed writes to the server.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
host → dynamic
final
isConnected bool
Returns true if ready to send data.
no setteroverride
port int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future
Close the connection to the server.
override
connect() Future
Connects to the server.
override
flush() Future
Flushes buffer, if applicable.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(String name, String value, DateTime time) Future
Sends the given measurement to the server.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited