C# Class SessionManager.Network.XToolsApp

Inheritance: IDisposable
Mostra file Open project: Microsoft/HoloToolkit Class Usage Examples

Public Methods

Method Description
CreateSession ( string sessionName ) : bool
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetArgumentOrDefault ( string argument, string defaultValue ) : string
HasArgument ( string argument ) : bool
JoinSession ( string sessionName ) : bool
LeaveSession ( ) : void
Update ( ) : void
XToolsApp ( string args = null ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Private Methods

Method Description
BeginPairing ( ) : bool
LogWriteLine ( string message ) : void
OnSessionConnected ( NetworkConnection connection ) : void
OnSessionConnectionFailed ( NetworkConnection connection ) : void
OnSessionDisconnected ( NetworkConnection connection ) : void
OnViewerConnected ( NetworkConnection connection ) : void
OnViewerConnectionFailed ( NetworkConnection connection ) : void
OnViewerDisconnected ( NetworkConnection connection ) : void
ParseCommandLine ( string args ) : string>.Dictionary

Method Details

CreateSession() public method

public CreateSession ( string sessionName ) : bool
sessionName string
return bool

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool True to release both managed and unmanaged resources; False to release only unmanaged resources.
return void

GetArgumentOrDefault() public method

public GetArgumentOrDefault ( string argument, string defaultValue ) : string
argument string
defaultValue string
return string

HasArgument() public method

public HasArgument ( string argument ) : bool
argument string
return bool

JoinSession() public method

public JoinSession ( string sessionName ) : bool
sessionName string
return bool

LeaveSession() public method

public LeaveSession ( ) : void
return void

Update() public method

public Update ( ) : void
return void

XToolsApp() public method

public XToolsApp ( string args = null ) : System
args string
return System