private setListenerAccepts ( int listenerId, int localAccepts, int globalAccepts ) : void | ||
listenerId | int | |
localAccepts | int | |
globalAccepts | int | |
return | void |
private void setListenerAccepts(int listenerId, int localAccepts, int globalAccepts)
{
foreach (var listener in PeerCast.OutputListeners.Where(ol => GetObjectId(ol)==listenerId)) {
listener.LocalOutputAccepts = (OutputStreamType)localAccepts;
listener.GlobalOutputAccepts = (OutputStreamType)globalAccepts;
}
owner.Application.SaveSettings();
}