Class App
Base class for all remote apps.
Inherited Members
Namespace: HoloMetrix.Net.Remote
Assembly: HoloMetrix.Net.Remote.dll
Syntax
public abstract class App : IDisposable, IMessenger
Properties
| Improve this Doc View SourceMessageHandler
Message handler used to read incoming messages from the remote application.
Declaration
public abstract MessageHandler MessageHandler { get; }
Property Value
| Type | Description |
|---|---|
| MessageHandler |
Name
The full name of the target application.
Declaration
public virtual TargetApp Name { get; protected set; }
Property Value
| Type | Description |
|---|---|
| TargetApp |
Methods
| Improve this Doc View SourceDispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
InitialiseApp()
Initialises the remote application.
Declaration
protected abstract void InitialiseApp()
RegisterMessageHandler(RemoteSession)
Attaches the MessageHandler to a RemoteSession.
Declaration
public abstract void RegisterMessageHandler(RemoteSession session)
Parameters
| Type | Name | Description |
|---|---|---|
| RemoteSession | session | The session to register the message handler to. |
UnregisterMessageHandler()
Removes the MessageHandler from a RemoteSession.
Declaration
public abstract void UnregisterMessageHandler()