C# Class Twingly.Gearman.GearmanConnectionManager

Inheritance: IDisposable
Mostrar archivo Open project: twingly/GearmanSharp

Public Methods

Method Description
AddServer ( string host ) : void
AddServer ( string host, int port ) : void
DisconnectAll ( ) : void
Dispose ( ) : void

Protected Methods

Method Description
CleanUpManagedResources ( ) : void
GearmanConnectionManager ( ) : System
GearmanConnectionManager ( ClusterConfigurationElement clusterConfiguration ) : System
GearmanConnectionManager ( string clusterName ) : System
GetAliveConnections ( ) : IEnumerable
OnConnectionConnected ( IGearmanConnection connection ) : void

Private Methods

Method Description
AddConnection ( IGearmanConnection connection ) : void
ParseConfiguration ( ClusterConfigurationElement cluster ) : void

Method Details

AddServer() public method

public AddServer ( string host ) : void
host string
return void

AddServer() public method

public AddServer ( string host, int port ) : void
host string
port int
return void

CleanUpManagedResources() protected method

protected CleanUpManagedResources ( ) : void
return void

DisconnectAll() public method

public DisconnectAll ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

GearmanConnectionManager() protected method

protected GearmanConnectionManager ( ) : System
return System

GearmanConnectionManager() protected method

protected GearmanConnectionManager ( ClusterConfigurationElement clusterConfiguration ) : System
clusterConfiguration Twingly.Gearman.Configuration.ClusterConfigurationElement
return System

GearmanConnectionManager() protected method

protected GearmanConnectionManager ( string clusterName ) : System
clusterName string
return System

GetAliveConnections() protected method

protected GetAliveConnections ( ) : IEnumerable
return IEnumerable

OnConnectionConnected() protected method

protected OnConnectionConnected ( IGearmanConnection connection ) : void
connection IGearmanConnection
return void