Example #1
0
 protected virtual void OnSessionClosed(AirplayEventArgs e)
 {
     if (SessionClosed != null)
     {
         SessionClosed(this, e);
     }
 }
Example #2
0
 protected virtual void OnStopped(AirplayEventArgs e)
 {
     if (Stopped != null)
     {
         Stopped(this, e);
     }
 }
Example #3
0
 protected virtual void OnEventConnection(AirplayEventArgs e)
 {
     if (EventConnection != null)
     {
         EventConnection(this, e);
     }
 }
Example #4
0
 void session_Stopped(object sender, AirplayEventArgs e)
 {
     OnSessionStopped(e);
 }
Example #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;
 }