C# 클래스 JackSharp.Controller

Controller.
상속: Client
파일 보기 프로젝트 열기: residuum/JackSharp 1 사용 예제들

공개 메소드들

메소드 설명
Connect ( PortReference outPort, PortReference inPort ) : bool

Connect the specified outPort and inPort.

Controller ( string name ) : System

Initializes a new instance of the JackSharp.Controller class.

Disconnect ( PortReference outPort, PortReference inPort ) : bool

Disconnect the specified outPort and inPort.

Start ( bool startServer = false ) : bool

Activates the client and connects to Jack.

Stop ( ) : bool

Stops the client and disconnects from Jack.

비공개 메소드들

메소드 설명
GetAndSendConnections ( List allPorts ) : void
GetAndSendPorts ( ) : List
MapPort ( uint portId ) : PortReference
OnClientRegistration ( string name, int register, IntPtr arg ) : void
OnPortConnect ( uint a, uint b, int connect, IntPtr args ) : void
OnPortRegistration ( uint portId, int register, IntPtr args ) : void
OnPortRename ( uint portId, string oldName, string newName, IntPtr arg ) : void
Open ( bool startServer ) : bool
SendPortsAndConnections ( ) : void
SetUpCallbacks ( ) : void
WireUpCallbacks ( ) : void

메소드 상세

Connect() 공개 메소드

Connect the specified outPort and inPort.
public Connect ( PortReference outPort, PortReference inPort ) : bool
outPort JackSharp.Ports.PortReference Out port.
inPort JackSharp.Ports.PortReference In port.
리턴 bool

Controller() 공개 메소드

Initializes a new instance of the JackSharp.Controller class.
public Controller ( string name ) : System
name string Name.
리턴 System

Disconnect() 공개 메소드

Disconnect the specified outPort and inPort.
public Disconnect ( PortReference outPort, PortReference inPort ) : bool
outPort JackSharp.Ports.PortReference Out port.
inPort JackSharp.Ports.PortReference In port.
리턴 bool

Start() 공개 메소드

Activates the client and connects to Jack.
public Start ( bool startServer = false ) : bool
startServer bool If [true], the client will start Jack if it is not running.
리턴 bool

Stop() 공개 메소드

Stops the client and disconnects from Jack.
public Stop ( ) : bool
리턴 bool