C# 클래스 HoloToolkit.Sharing.DirectPairing

Component to pair with a remote client directly. One side should use the Receiver roll, the other side should use the Connector roll. RemoteAddress and RemotePort are used by the Connector roll, LocalPort is used by the Receiver
상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: Microsoft/HoloToolkit-Unity

공개 프로퍼티들

프로퍼티 타입 설명
AutoReconnect bool
LocalPort ushort
PairingRole Role
RemoteAddress string
RemotePort ushort

공개 메소드들

메소드 설명
OnDestroy ( ) : void
OnDisconnected ( NetworkConnection connection ) : void
OnPairingConnectionFailed ( PairingResult result ) : void
OnPairingConnectionSucceeded ( ) : void
Start ( ) : void
StartPairing ( ) : void

메소드 상세

OnDestroy() 공개 메소드

public OnDestroy ( ) : void
리턴 void

OnDisconnected() 공개 메소드

public OnDisconnected ( NetworkConnection connection ) : void
connection NetworkConnection
리턴 void

OnPairingConnectionFailed() 공개 메소드

public OnPairingConnectionFailed ( PairingResult result ) : void
result PairingResult
리턴 void

OnPairingConnectionSucceeded() 공개 메소드

public OnPairingConnectionSucceeded ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

StartPairing() 공개 메소드

public StartPairing ( ) : void
리턴 void

프로퍼티 상세

AutoReconnect 공개적으로 프로퍼티

public bool AutoReconnect
리턴 bool

LocalPort 공개적으로 프로퍼티

public ushort LocalPort
리턴 ushort

PairingRole 공개적으로 프로퍼티

public Role PairingRole
리턴 Role

RemoteAddress 공개적으로 프로퍼티

public string RemoteAddress
리턴 string

RemotePort 공개적으로 프로퍼티

public ushort RemotePort
리턴 ushort