Swing  1.0
Classes | Public Member Functions | Events | List of all members
Swing.ServiceManager Class Reference
Inheritance diagram for Swing.ServiceManager:
Singleton< ServiceManager >

Classes

class  BroadcastJob
 
class  DownloadJob
 
class  Job
 
class  LoadJob
 
class  LocalReplayListJob
 
class  ReplayListJob
 
class  SaveJob
 
class  UploadJob
 
class  WatchJob
 

Public Member Functions

delegate void ServiceManagerEventHandler (Exception e, ServiceEventArgs args)
 
delegate void ServiceManagerEventHandler< TEventArgs > (Exception e, TEventArgs args)
 
bool HasCredential ()
 
void SetCredential (Swing.SpectatorService.Credential credential)
 
void SetConfiguration (Swing.SpectatorService.Configuration config)
 
void Update ()
 
bool SaveReplayFile (string fileName, Replay replay)
 
bool LoadReplayFile (string fileName)
 
void UploadReplayFile (Replay replay)
 
void DownloadReplayFile (Guid replayID)
 
void GetReplayList (int offset, int count)
 
void GetLocalReplayList (int offset, int count)
 
void GetBroadcastList (int offset, int count)
 
bool StartWatch (Replay replay)
 
bool ReconnectWatch ()
 
void StopWatch ()
 
void StartBroadcast (Replay replay, bool autoSave)
 
bool ReconnectBroadcast ()
 
void StopBroadcast ()
 
void AddFragments (TrackContentType type, byte[] data)
 
void Quit ()
 

Events

ServiceManagerEventHandler< LoadServiceEventArgsonLoad
 
ServiceManagerEventHandler< LoadServiceEventArgsonDownload
 
ServiceManagerEventHandler< SaveServiceEventArgsonSave
 
ServiceManagerEventHandler< SaveServiceEventArgsonUpload
 
ServiceManagerEventHandler< BroadcastServiceEventArgsonBroadcast
 
ServiceManagerEventHandler< WatchServiceEventArgsonWatch
 
ServiceManagerEventHandler< ListReplayServiceEventArgsonListReplay
 
ServiceManagerEventHandler< ListReplayServiceEventArgsonListBroadcast
 

Additional Inherited Members

- Static Public Member Functions inherited from Singleton< ServiceManager >
static T GetInstance ()
 

Member Function Documentation

void Swing.ServiceManager.DownloadReplayFile ( Guid  replayID)

Download ReplayFile from Server

Parameters
replayIdIdentifier of relay to download
void Swing.ServiceManager.StartBroadcast ( Replay  replay,
bool  autoSave 
)

StartBroadcast establishes connection to server

Parameters
replayreplay for broadcast. setting such as attribute is used to create connection.
autoSave.It decides to save replay on server when it close broacast.

The documentation for this class was generated from the following files: