Show / Hide Table of Contents

    Class CommandRegistry<TService>

    Inheritance
    Object
    Singleton<TService>
    CommandRegistry<TService>
    NetworkManager<TService>
    Implements
    ICommandRegistry
    Inherited Members
    Singleton<TService>.IsInitialized
    Singleton<TService>.Awake()
    Singleton<TService>.OnDestroy()
    Singleton<TService>.Instance
    Namespace: Microsoft.MixedReality.SpectatorView
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class CommandRegistry<TService> : Singleton<TService>, ICommandRegistry where TService : Singleton<TService>
    Type Parameters
    Name Description
    TService

    Methods

    NotifyCommand(SocketEndpoint, String, BinaryReader, Int32)

    Declaration
    protected void NotifyCommand(SocketEndpoint socketEndpoint, string command, BinaryReader message, int remainingDataSize)
    Parameters
    Type Name Description
    SocketEndpoint socketEndpoint
    String command
    BinaryReader message
    Int32 remainingDataSize

    NotifyConnected(SocketEndpoint)

    Declaration
    protected void NotifyConnected(SocketEndpoint socketEndpoint)
    Parameters
    Type Name Description
    SocketEndpoint socketEndpoint

    NotifyDisconnected(SocketEndpoint)

    Declaration
    protected void NotifyDisconnected(SocketEndpoint socketEndpoint)
    Parameters
    Type Name Description
    SocketEndpoint socketEndpoint

    RegisterCommandHandler(String, CommandHandler)

    Declaration
    public void RegisterCommandHandler(string command, CommandHandler handler)
    Parameters
    Type Name Description
    String command
    CommandHandler handler

    UnregisterCommandHandler(String, CommandHandler)

    Declaration
    public void UnregisterCommandHandler(string command, CommandHandler handler)
    Parameters
    Type Name Description
    String command
    CommandHandler handler

    Events

    Connected

    Declaration
    public event ConnectedEventHandler Connected
    Event Type
    Type Description
    ConnectedEventHandler

    Disconnected

    Declaration
    public event DisconnectedEventHandler Disconnected
    Event Type
    Type Description
    DisconnectedEventHandler

    Implements

    ICommandRegistry
    Back to top Generated by DocFX