주요 콘텐츠로 건너뛰기
버전: 2.1.1

Haply::역방향::Unity::내부::클라이언트 연결

IDisposable에서 상속

공개 이벤트​

이름
Action< Ret?>OnReconnect()
StateDelegateStateChanged()
Client.ClientDelegatePong()
Client.ClientDelegate연결 끊김()
Client.DeviceDelegate장치 사용 가능()
Client.DeviceIdDelegate장치 삭제됨()
Client.DeviceIdDelegateDeviceOpened()
Client.DeviceIdDelegateDeviceClosed()
Client.ExtendedFirmwareVersionDelegate확장 펌웨어 버전()
클라이언트 커서 상태 델리게이트커서 상태 변경()
Client.JointsStateDelegate조인트 상태 변경()
Client.VerseGripStateDelegateVerseGripStateChanged()
Client.BodyOrientationDelegateBodyOrientationChanged()
Client.ConfigSaveDelegate구성 저장()
Client.ConfigGravityCompensationDelegate중력 보상 구성 변경()
Client.ConfigTorqueScalingDelegate토크 스케일링 구성 변경()
Client.ConfigHandednessDelegateHandednessConfigChanged()
Client.StatusMotorCurrentDelegate모터 전류 상태 변경()
Client.StatusPowerSupplyDelegate전원 공급 상태 변경()
Client.StatsServiceDelegate서비스 통계 변경()
Client.StatsDeviceDelegateDeviceStatsChanged()
Client.ErrorDelegate오류 이벤트()
Client.ServiceListClientsDelegate서비스 클라이언트 목록()
Client.ServiceGetClientDelegateServiceClientGot()
액션스레드 업데이트()
Action< Ret >스레드 폴 에러()

공공 기능​

이름
boolIsReady()
위임 무효StateDelegate(클라이언트 연결 상태, 클라이언트 연결 상태 이전)
클라이언트 연결(구성 설정)
클라이언트 연결(문자열 desc)
voidDispose()
void연결()
void시도 재연결(Ret? reason =null)
void연결 끊기()
boolIsDeviceOwned(uint deviceId)
boolIsDeviceOwnedByClient(uint deviceId)
ulongGetDeviceOwnerCid(uint deviceId)
ulongGetClientId()
uintGetProcessId()
문자열GetSocketAddr()
문자열 재정의ToString()
void디바이스 캐시 지우기()

공용 속성​

이름
클라이언트코어클라이언트
클라이언트 폴러클라이언트 폴러
구성구성
문자열설명
클라이언트 연결 상태상태

공개 이벤트 문서​

이벤트 온리커넥트​

Action< Ret?> OnReconnect()

이벤트 StateChanged​

StateDelegate StateChanged()

이벤트 퐁​

Client.ClientDelegate Pong()

이벤트 연결 끊김​

Client.ClientDelegate Disconnected()

이벤트 장치 사용 가능​

Client.DeviceDelegate DeviceAvailable()

이벤트 장치 삭제됨​

Client.DeviceIdDelegate DeviceRemoved()

이벤트 DeviceOpened​

Client.DeviceIdDelegate DeviceOpened()

이벤트 DeviceClosed​

Client.DeviceIdDelegate DeviceClosed()

이벤트 확장 펌웨어 버전​

Client.ExtendedFirmwareVersionDelegate ExtendedFirmwareVersion()

이벤트 커서 상태 변경​

Client.CursorStateDelegate CursorStateChanged()

이벤트 조인트 상태 변경​

Client.JointsStateDelegate JointsStateChanged()

이벤트 VerseGripStateChanged​

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()

이벤트 ServiceClientGot​

Client.ServiceGetClientDelegate ServiceClientGot()

이벤트 스레드 업데이트​

Action ThreadUpdate()

이벤트 스레드 폴 에러​

Action< Ret > ThreadPollError()

공용 함수 문서​

함수 IsReady​

bool IsReady()

함수 StateDelegate​

delegate void StateDelegate(
ClientConnectionState state,
ClientConnectionState previous
)

함수 클라이언트 연결​

ClientConnection(
Configuration configuration
)

함수 클라이언트 연결​

ClientConnection(
string desc
)

함수 처분​

void Dispose()

함수 연결​

void Connect()

함수 TryReconnect​

void TryReconnect(
Ret? reason =null
)

함수 연결 끊기​

void Disconnect()

함수 IsDeviceOwned​

bool IsDeviceOwned(
uint deviceId
)

함수 IsDeviceOwnedByClient​

bool IsDeviceOwnedByClient(
uint deviceId
)

함수 GetDeviceOwnerCid​

ulong GetDeviceOwnerCid(
uint deviceId
)

함수 GetClientId​

ulong GetClientId()

함수 GetProcessId​

uint GetProcessId()

함수 GetSocketAddr​

string GetSocketAddr()

함수 ToString​

override string ToString()

함수 DevicesCacheClear​

void DevicesCacheClear()

공공 자산 문서​

속성 CoreClient​

Client CoreClient;

속성 클라이언트폴러​

ClientPoller ClientPoller;

속성 구성​

Configuration Config;

속성 설명​

string Description;

속성 State​

ClientConnectionState State;