Пример #1
0
 protected virtual void OnSessionClosed(AirplayEventArgs e)
 {
     if (SessionClosed != null)
     {
         SessionClosed(this, e);
     }
 }
Пример #2
0
 protected virtual void OnStopped(AirplayEventArgs e)
 {
     if (Stopped != null)
     {
         Stopped(this, e);
     }
 }
Пример #3
0
 protected virtual void OnEventConnection(AirplayEventArgs e)
 {
     if (EventConnection != null)
     {
         EventConnection(this, e);
     }
 }
Пример #4
0
 void session_Stopped(object sender, AirplayEventArgs e)
 {
     OnSessionStopped(e);
 }
Пример #5
0
 void session_EventConnection(object sender, AirplayEventArgs e)
 {
     Logger.Debug("Airplay Server: Event connection received, '{0}'", e.SessionId);
     lock (eventConnectionSync)
         eventConnections[e.SessionId] = (AirplaySession)sender;
 }