C# 클래스 SirenOfShame.Lib.Services.SosOnlineService

파일 보기 프로젝트 열기: AutomatedArchitecture/SirenOfShame 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
SOS_URL string

공개 메소드들

메소드 설명
BuildStatusChanged ( SirenOfShame.Lib.Settings.SirenOfShameSettings settings, IList changedBuildStatuses, List changedUsers ) : void
CreateSosOnlinePersonFromSosOnlineNotification ( SirenOfShame.Lib.Services.NewSosOnlineNotificationArgs args, ImageList avatarImageList ) : SirenOfShame.Lib.Watcher.SosOnlinePerson
SendMessage ( SirenOfShame.Lib.Settings.SirenOfShameSettings settings, string message ) : void
StartRealtimeConnection ( SirenOfShame.Lib.Settings.SirenOfShameSettings settings ) : Task
Synchronize ( SirenOfShame.Lib.Settings.SirenOfShameSettings settings, string exportedBuilds, string exportedAchievements, Action onSuccess, Exception>.Action onFail ) : void
TryToGetAndSendNewSosOnlineAlerts ( SirenOfShameSettings settings, DateTime now, Action invokeNewAlert ) : void
VerifyCredentialsAsync ( SirenOfShameSettings settings, Action onSuccess, Exception>.Action onFail ) : void

보호된 메소드들

메소드 설명
GetWebClient ( ) : SirenOfShame.Lib.Network.SosWebClient

비공개 메소드들

메소드 설명
AddSosOnlineCredentials ( SirenOfShame.Lib.Settings.SirenOfShameSettings settings, SirenOfShame.Lib.Watcher.WebClientXml webClientXml ) : void
ConnectionOnClosed ( ) : void
ConnectionOnError ( Exception ex ) : void
ConnectionOnStateChanged ( SignalR.Client.StateChange stateChange ) : void
GetAvatarId ( SirenOfShame.Lib.Services.NewSosOnlineNotificationArgs args, ImageList avatarImageList ) : int
InvokeOnOnNewSosOnlineNotification ( dynamic data ) : void
InvokeOnOnNewSosOnlineNotification ( string message, string displayName, string imageUrl, string userName ) : void
InvokeOnSosOnlineStatusChange ( string status, Exception exception = null ) : void
OnConnectionFail ( Exception>.Action onFail ) : Action
OnConnectionFail ( Exception obj ) : void
ReadResult ( string resultsStr ) : void
SendBuildStatusChanged ( SirenOfShame.Lib.Settings.SirenOfShameSettings settings, IList changedBuildStatuses, List changedUsers ) : void
SendNewCustomImages ( SirenOfShame.Lib.Settings.SirenOfShameSettings settings, List changedUsers ) : void

메소드 상세

BuildStatusChanged() 공개 메소드

public BuildStatusChanged ( SirenOfShame.Lib.Settings.SirenOfShameSettings settings, IList changedBuildStatuses, List changedUsers ) : void
settings SirenOfShame.Lib.Settings.SirenOfShameSettings
changedBuildStatuses IList
changedUsers List
리턴 void

CreateSosOnlinePersonFromSosOnlineNotification() 공개 메소드

public CreateSosOnlinePersonFromSosOnlineNotification ( SirenOfShame.Lib.Services.NewSosOnlineNotificationArgs args, ImageList avatarImageList ) : SirenOfShame.Lib.Watcher.SosOnlinePerson
args SirenOfShame.Lib.Services.NewSosOnlineNotificationArgs
avatarImageList System.Windows.Forms.ImageList
리턴 SirenOfShame.Lib.Watcher.SosOnlinePerson

GetWebClient() 보호된 메소드

protected GetWebClient ( ) : SirenOfShame.Lib.Network.SosWebClient
리턴 SirenOfShame.Lib.Network.SosWebClient

SendMessage() 공개 메소드

public SendMessage ( SirenOfShame.Lib.Settings.SirenOfShameSettings settings, string message ) : void
settings SirenOfShame.Lib.Settings.SirenOfShameSettings
message string
리턴 void

StartRealtimeConnection() 공개 메소드

public StartRealtimeConnection ( SirenOfShame.Lib.Settings.SirenOfShameSettings settings ) : Task
settings SirenOfShame.Lib.Settings.SirenOfShameSettings
리턴 Task

Synchronize() 공개 메소드

public Synchronize ( SirenOfShame.Lib.Settings.SirenOfShameSettings settings, string exportedBuilds, string exportedAchievements, Action onSuccess, Exception>.Action onFail ) : void
settings SirenOfShame.Lib.Settings.SirenOfShameSettings
exportedBuilds string
exportedAchievements string
onSuccess Action
onFail Exception>.Action
리턴 void

TryToGetAndSendNewSosOnlineAlerts() 공개 메소드

public TryToGetAndSendNewSosOnlineAlerts ( SirenOfShameSettings settings, DateTime now, Action invokeNewAlert ) : void
settings SirenOfShameSettings
now DateTime
invokeNewAlert Action
리턴 void

VerifyCredentialsAsync() 공개 메소드

public VerifyCredentialsAsync ( SirenOfShameSettings settings, Action onSuccess, Exception>.Action onFail ) : void
settings SirenOfShameSettings
onSuccess Action
onFail Exception>.Action
리턴 void

프로퍼티 상세

SOS_URL 공개적으로 정적으로 프로퍼티

public static string SOS_URL
리턴 string