Skip to main content
Version : 2.2.0

Haply::Inverse::Unity::Internal::ClientConnection

Hérite de IDisposable

Événements publics​

Nom
Action< Ret?>OnReconnect()
Délégué d'ÉtatStateChanged()
Client.ClientDelegatePong()
Client.ClientDelegateDéconnecté()
Client.DeviceDelegateDeviceAvailable()
Client.DeviceIdDelegateDeviceRemoved()
Client.DeviceIdDelegateDispositifOuvré()
Client.DeviceIdDelegateDeviceClosed()
Client.ExtendedFirmwareVersionDelegateExtendedFirmwareVersion()
Client.CursorStateDelegateCursorStateChanged()
Client.JointsStateDelegateJointsStateChanged()
Client.VerseGripStateDelegateVerseGripStateChanged()
Client.BodyOrientationDelegateBodyOrientationChanged()
Client.ConfigSaveDelegateConfigSaved()
Client.ConfigGravityCompensationDelegateGravityCompensationConfigChanged()
Client.ConfigTorqueScalingDelegateTorqueScalingConfigChanged()
Client.ConfigHandednessDelegateHandednessConfigChanged()
Client.StatusMotorCurrentDelegateMotorCurrentStatusChanged()
Client.StatusPowerSupplyDelegatePowerSupplyStatusChanged()
Client.StatsServiceDelegateServiceStatsChanged()
Client.StatsDeviceDelegateDeviceStatsChanged()
Client.ErrorDelegateÉvénement d'erreur()
Client.ServiceListClientsDelegateServiceClientsListed()
Client.ServiceGetClientDelegateServiceClientGot()
ActionThreadUpdate()
Action< Ret >ThreadPollError()

Fonctions publiques​

Nom
boolPrêt()
délégué videDélégué à l'état(ClientConnectionState state, ClientConnectionState previous)
ClientConnection(Configuration configuration)
ClientConnection(string desc)
videDisposer()
videConnecter()
videTryReconnect(Ret ? raison =null)
videDéconnexion()
boolIsDeviceOwned(uint deviceId)
boolIsDeviceOwnedByClient(uint deviceId)
ulongGetDeviceOwnerCid(uint deviceId)
ulongGetClientId()
uintGetProcessId()
chaîne de caractèresGetSocketAddr()
override stringToString()
videDevicesCacheClear()

Propriétés publiques​

Nom
ClientCoreClient
ClientPollerClientPoller
ConfigurationConfig
chaîne de caractèresDescription
État de connexion du clientÉtat

Documentation sur les événements publics​

événement OnReconnect​

Action< Ret?> OnReconnect()

événement StateChanged​

StateDelegate StateChanged()

événement Pong​

Client.ClientDelegate Pong()

événement Déconnecté​

Client.ClientDelegate Disconnected()

événement DeviceAvailable​

Client.DeviceDelegate DeviceAvailable()

événement DeviceRemoved​

Client.DeviceIdDelegate DeviceRemoved()

événement DeviceOpened​

Client.DeviceIdDelegate DeviceOpened()

événement DeviceClosed​

Client.DeviceIdDelegate DeviceClosed()

événement ExtendedFirmwareVersion​

Client.ExtendedFirmwareVersionDelegate ExtendedFirmwareVersion()

événement CursorStateChanged​

Client.CursorStateDelegate CursorStateChanged()

événement JointsStateChanged​

Client.JointsStateDelegate JointsStateChanged()

événement VerseGripStateChanged​

Client.VerseGripStateDelegate VerseGripStateChanged()

événement BodyOrientationChanged​

Client.BodyOrientationDelegate BodyOrientationChanged()

événement ConfigSaved​

Client.ConfigSaveDelegate ConfigSaved()

événement GravityCompensationConfigChanged​

Client.ConfigGravityCompensationDelegate GravityCompensationConfigChanged()

événement TorqueScalingConfigChanged​

Client.ConfigTorqueScalingDelegate TorqueScalingConfigChanged()

événement HandednessConfigChanged​

Client.ConfigHandednessDelegate HandednessConfigChanged()

événement MotorCurrentStatusChanged​

Client.StatusMotorCurrentDelegate MotorCurrentStatusChanged()

event PowerSupplyStatusChanged​

Client.StatusPowerSupplyDelegate PowerSupplyStatusChanged()

événement ServiceStatsChanged​

Client.StatsServiceDelegate ServiceStatsChanged()

événement DeviceStatsChanged​

Client.StatsDeviceDelegate DeviceStatsChanged()

événement ErrorEvent​

Client.ErrorDelegate ErrorEvent()

événement ServiceClientsListed​

Client.ServiceListClientsDelegate ServiceClientsListed()

événement ServiceClientGot​

Client.ServiceGetClientDelegate ServiceClientGot()

événement ThreadUpdate​

Action ThreadUpdate()

événement ThreadPollError​

Action< Ret > ThreadPollError()

Documentation sur les fonctions publiques​

fonction IsReady​

bool IsReady()

fonction StateDelegate​

delegate void StateDelegate(
ClientConnectionState state,
ClientConnectionState previous
)

fonction ClientConnection​

ClientConnection(
Configuration configuration
)

fonction ClientConnection​

ClientConnection(
string desc
)

fonction Dispose​

void Dispose()

fonction Connect​

void Connect()

fonction TryReconnect​

void TryReconnect(
Ret? reason =null
)

Fonction Déconnexion​

void Disconnect()

fonction IsDeviceOwned​

bool IsDeviceOwned(
uint deviceId
)

fonction IsDeviceOwnedByClient​

bool IsDeviceOwnedByClient(
uint deviceId
)

fonction GetDeviceOwnerCid​

ulong GetDeviceOwnerCid(
uint deviceId
)

fonction GetClientId​

ulong GetClientId()

fonction GetProcessId​

uint GetProcessId()

fonction GetSocketAddr​

string GetSocketAddr()

fonction ToString​

override string ToString()

fonction DevicesCacheClear​

void DevicesCacheClear()

Documentation sur les biens publics​

propriété CoreClient​

Client CoreClient;

propriété ClientPoller​

ClientPoller ClientPoller;

propriété Config​

Configuration Config;

Description de la propriété​

string Description;

propriété État​

ClientConnectionState State;