C# Class StatsdClient.StatsdUDPClient

Inheritance: StatsdClient.Address, IStatsdClient
Mostrar archivo Open project: Pereingo/statsd-csharp-client Class Usage Examples

Public Methods

Method 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.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Send ( byte encodedCommand ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Send() public method

public Send ( string command ) : void
command string
return void

StatsdUDPClient() public method

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.
return System