C# Class Sparkles.BaseListener

ファイルを表示 Open project: hbons/SparkleShare Class Usage Examples

Public Properties

Property Type Description
Server System.Uri

Protected Properties

Property Type Description
channels List

Public Methods

Method Description
AlsoListenTo ( string channel ) : void
Announce ( Announcement announcement ) : void
BaseListener ( Uri server, string folder_identifier ) : System
Connect ( ) : void
Dispose ( ) : void
OnAnnouncement ( Announcement announcement ) : void
OnConnected ( ) : void
OnDisconnected ( DisconnectReason reason, string message ) : void
Reconnect ( ) : void

Protected Methods

Method Description
AlsoListenToInternal ( string folder_identifier ) : void
AnnounceInternal ( Announcement announcent ) : void

Private Methods

Method Description
AddRecentAnnouncement ( Announcement announcement ) : void
GetRecentAnnouncements ( string folder_identifier ) : List
IsRecentAnnouncement ( Announcement announcement ) : bool
OnTimerElapsed ( object sender, EventArgs args ) : void

Method Details

AlsoListenTo() public method

public AlsoListenTo ( string channel ) : void
channel string
return void

AlsoListenToInternal() protected abstract method

protected abstract AlsoListenToInternal ( string folder_identifier ) : void
folder_identifier string
return void

Announce() public method

public Announce ( Announcement announcement ) : void
announcement Announcement
return void

AnnounceInternal() protected abstract method

protected abstract AnnounceInternal ( Announcement announcent ) : void
announcent Announcement
return void

BaseListener() public method

public BaseListener ( Uri server, string folder_identifier ) : System
server System.Uri
folder_identifier string
return System

Connect() public abstract method

public abstract Connect ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

OnAnnouncement() public method

public OnAnnouncement ( Announcement announcement ) : void
announcement Announcement
return void

OnConnected() public method

public OnConnected ( ) : void
return void

OnDisconnected() public method

public OnDisconnected ( DisconnectReason reason, string message ) : void
reason DisconnectReason
message string
return void

Reconnect() public method

public Reconnect ( ) : void
return void

Property Details

Server public_oe property

public Uri,System Server
return System.Uri

channels protected_oe property

protected List channels
return List