JackSharp.Controller.OnPortRename C# (CSharp) Method

OnPortRename() private method

private OnPortRename ( uint portId, string oldName, string newName, IntPtr arg ) : void
portId uint
oldName string
newName string
arg System.IntPtr
return void
        void OnPortRename(uint portId, string oldName, string newName, IntPtr arg)
        {
            if (PortChanged != null) {
                PortReference port = MapPort (portId);
                port.FullName = newName;
                PortChanged (this, new PortRegistrationEventArgs (port, ChangeType.Renamed));
            }
        }