C# Class StatsdClient.StatsdUDPClient

Inheritance: StatsdClient.Address, IStatsdClient
Afficher le fichier Open project: Pereingo/statsd-csharp-client Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
Send ( string command ) : void
StatsdUDPClient ( string name, int port = 8125, int maxUdpPacketSizeBytes = MetricsConfig.DefaultStatsdMaxUDPPacketSize ) : System

Creates a new StatsdUDP class for lower level access to statsd.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
Send ( byte encodedCommand ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Send() public méthode

public Send ( string command ) : void
command string
Résultat void

StatsdUDPClient() public méthode

Creates a new StatsdUDP class for lower level access to statsd.
public StatsdUDPClient ( string name, int port = 8125, int maxUdpPacketSizeBytes = MetricsConfig.DefaultStatsdMaxUDPPacketSize ) : System
name string Hostname or IP (v4) address of the statsd server.
port int Port of the statsd server. Default is 8125.
maxUdpPacketSizeBytes int Max packet size, in bytes. This is useful to tweak if your MTU size is different than normal. Set to 0 for no limit. Default is MetricsConfig.DefaultStatsdMaxUDPPacketSize.
Résultat System