Haply::Inverse::Unity::Internal::ClientConnection
Inherits from IDisposable
Public Events
Name | |
---|---|
Action< Ret?> | OnReconnect() |
StateDelegate | StateChanged() |
Client.ClientDelegate | Pong() |
Client.ClientDelegate | Disconnected() |
Client.DeviceDelegate | DeviceAvailable() |
Client.DeviceIdDelegate | DeviceRemoved() |
Client.DeviceIdDelegate | DeviceOpened() |
Client.DeviceIdDelegate | DeviceClosed() |
Client.ExtendedFirmwareVersionDelegate | ExtendedFirmwareVersion() |
Client.CursorStateDelegate | CursorStateChanged() |
Client.JointsStateDelegate | JointsStateChanged() |
Client.VerseGripStateDelegate | VerseGripStateChanged() |
Client.BodyOrientationDelegate | BodyOrientationChanged() |
Client.ConfigSaveDelegate | ConfigSaved() |
Client.ConfigGravityCompensationDelegate | GravityCompensationConfigChanged() |
Client.ConfigTorqueScalingDelegate | TorqueScalingConfigChanged() |
Client.ConfigHandednessDelegate | HandednessConfigChanged() |
Client.StatusMotorCurrentDelegate | MotorCurrentStatusChanged() |
Client.StatusPowerSupplyDelegate | PowerSupplyStatusChanged() |
Client.StatsServiceDelegate | ServiceStatsChanged() |
Client.StatsDeviceDelegate | DeviceStatsChanged() |
Client.ErrorDelegate | ErrorEvent() |
Client.ServiceListClientsDelegate | ServiceClientsListed() |
Client.ServiceGetClientDelegate | ServiceClientGot() |
Action | ThreadUpdate() |
Action< Ret > | ThreadPollError() |
Public Functions
Name | |
---|---|
bool | IsReady() |
delegate void | StateDelegate(ClientConnectionState state, ClientConnectionState previous) |
ClientConnection(Configuration configuration) | |
ClientConnection(string desc) | |
void | Dispose() |
void | Connect() |
void | TryReconnect(Ret? reason =null) |
void | Disconnect() |
bool | IsDeviceOwned(uint deviceId) |
bool | IsDeviceOwnedByClient(uint deviceId) |
ulong | GetDeviceOwnerCid(uint deviceId) |
ulong | GetClientId() |
uint | GetProcessId() |
string | GetSocketAddr() |
override string | ToString() |
void | DevicesCacheClear() |
Public Properties
Name | |
---|---|
Client | CoreClient |
ClientPoller | ClientPoller |
Configuration | Config |
string | Description |
ClientConnectionState | State |
Public Events Documentation
event OnReconnect
Action< Ret?> OnReconnect()
event StateChanged
StateDelegate StateChanged()
event Pong
Client.ClientDelegate Pong()
event Disconnected
Client.ClientDelegate Disconnected()
event DeviceAvailable
Client.DeviceDelegate DeviceAvailable()
event DeviceRemoved
Client.DeviceIdDelegate DeviceRemoved()
event DeviceOpened
Client.DeviceIdDelegate DeviceOpened()
event DeviceClosed
Client.DeviceIdDelegate DeviceClosed()
event ExtendedFirmwareVersion
Client.ExtendedFirmwareVersionDelegate ExtendedFirmwareVersion()
event CursorStateChanged
Client.CursorStateDelegate CursorStateChanged()
event JointsStateChanged
Client.JointsStateDelegate JointsStateChanged()
event VerseGripStateChanged
Client.VerseGripStateDelegate VerseGripStateChanged()
event BodyOrientationChanged
Client.BodyOrientationDelegate BodyOrientationChanged()
event ConfigSaved
Client.ConfigSaveDelegate ConfigSaved()
event GravityCompensationConfigChanged
Client.ConfigGravityCompensationDelegate GravityCompensationConfigChanged()
event TorqueScalingConfigChanged
Client.ConfigTorqueScalingDelegate TorqueScalingConfigChanged()
event HandednessConfigChanged
Client.ConfigHandednessDelegate HandednessConfigChanged()
event MotorCurrentStatusChanged
Client.StatusMotorCurrentDelegate MotorCurrentStatusChanged()
event PowerSupplyStatusChanged
Client.StatusPowerSupplyDelegate PowerSupplyStatusChanged()
event ServiceStatsChanged
Client.StatsServiceDelegate ServiceStatsChanged()
event DeviceStatsChanged
Client.StatsDeviceDelegate DeviceStatsChanged()
event ErrorEvent
Client.ErrorDelegate ErrorEvent()
event ServiceClientsListed
Client.ServiceListClientsDelegate ServiceClientsListed()
event ServiceClientGot
Client.ServiceGetClientDelegate ServiceClientGot()
event ThreadUpdate
Action ThreadUpdate()
event ThreadPollError
Action< Ret > ThreadPollError()
Public Functions Documentation
function IsReady
bool IsReady()
function StateDelegate
delegate void StateDelegate(
ClientConnectionState state,
ClientConnectionState previous
)
function ClientConnection
ClientConnection(
Configuration configuration
)
function ClientConnection
ClientConnection(
string desc
)
function Dispose
void Dispose()
function Connect
void Connect()
function TryReconnect
void TryReconnect(
Ret? reason =null
)
function Disconnect
void Disconnect()
function IsDeviceOwned
bool IsDeviceOwned(
uint deviceId
)
function IsDeviceOwnedByClient
bool IsDeviceOwnedByClient(
uint deviceId
)
function GetDeviceOwnerCid
ulong GetDeviceOwnerCid(
uint deviceId
)
function GetClientId
ulong GetClientId()
function GetProcessId
uint GetProcessId()
function GetSocketAddr
string GetSocketAddr()
function ToString
override string ToString()
function DevicesCacheClear
void DevicesCacheClear()
Public Property Documentation
property CoreClient
Client CoreClient;
property ClientPoller
ClientPoller ClientPoller;
property Config
Configuration Config;
property Description
string Description;
property State
ClientConnectionState State;