C# Class Squishy.Irc.Auth.AsyncIrcAuthenticator

Inheritance: IIrcAuthenticator
Mostra file Open project: jaddie/WCell-Utility-Bot

Public Properties

Property Type Description
DefaultTimeout System.TimeSpan

Protected Properties

Property Type Description
pendingQueries IrcUserAuthQuery>.Dictionary

Public Methods

Method Description
AsyncIrcAuthenticator ( ) : System
Dispose ( ) : void
Init ( IrcClient client ) : void
IsResolving ( IrcUser user ) : bool
RemoveQuery ( IrcUserAuthQuery query ) : void

Removes (and therefor cancels) the given query

RemoveQuery ( string username ) : void
ResolveAuth ( IrcUser user, IrcUserAuthResolvedHandler authResolvedHandler ) : void

Protected Methods

Method Description
ResolveAuth ( IrcUser user, IrcPacket packet ) : string

Returns null if not the right one

Method Details

AsyncIrcAuthenticator() public method

public AsyncIrcAuthenticator ( ) : System
return System

Dispose() public method

public Dispose ( ) : void
return void

Init() public method

public Init ( IrcClient client ) : void
client IrcClient
return void

IsResolving() public method

public IsResolving ( IrcUser user ) : bool
user IrcUser
return bool

RemoveQuery() public method

Removes (and therefor cancels) the given query
public RemoveQuery ( IrcUserAuthQuery query ) : void
query IrcUserAuthQuery
return void

RemoveQuery() public method

public RemoveQuery ( string username ) : void
username string
return void

ResolveAuth() protected abstract method

Returns null if not the right one
protected abstract ResolveAuth ( IrcUser user, IrcPacket packet ) : string
user IrcUser
packet Squishy.Irc.Protocol.IrcPacket
return string

ResolveAuth() public method

public ResolveAuth ( IrcUser user, IrcUserAuthResolvedHandler authResolvedHandler ) : void
user IrcUser
authResolvedHandler IrcUserAuthResolvedHandler
return void

Property Details

DefaultTimeout public_oe static_oe property

public static TimeSpan,System DefaultTimeout
return System.TimeSpan

pendingQueries protected_oe property

protected Dictionary pendingQueries
return IrcUserAuthQuery>.Dictionary