示例#1
0
 /// <summary>
 /// This method removes a ICANListener.
 /// </summary>
 /// <param name="a_listener">The ICANListener to remove.</param>
 /// <returns>true on success, otherwise false</returns>
 public bool removeListener(ICANListener a_listener)
 {
     lock (m_listeners)
     {
         m_listeners.Remove(a_listener);
     }
     return(true);
 }
示例#2
0
 /// <summary>
 /// This method adds a ICANListener. Any number of ICANListeners can be added (well,
 /// it's limited to processor speed and memory).
 /// </summary>
 /// <param name="a_listener">The ICANListener to be added.</param>
 /// <returns>true on success, otherwise false.</returns>
 public bool addListener(ICANListener a_listener)
 {
     lock (m_listeners)
     {
         m_listeners.Add(a_listener);
     }
     return(true);
 }
示例#3
0
 /// <summary>
 /// This method removes a ICANListener.
 /// </summary>
 /// <param name="a_listener">The ICANListener to remove.</param>
 /// <returns>true on success, otherwise false</returns>
 public bool removeListener(ICANListener a_listener)
 {
     lock (m_listeners)
     {
         m_listeners.Remove(a_listener);
     }
     return true;
 }
示例#4
0
 /// <summary>
 /// This method adds a ICANListener. Any number of ICANListeners can be added (well,
 /// it's limited to processor speed and memory).
 /// </summary>
 /// <param name="a_listener">The ICANListener to be added.</param>
 /// <returns>true on success, otherwise false.</returns>
 public bool addListener(ICANListener a_listener)
 {
     lock (m_listeners)
     {
         m_listeners.Add(a_listener);
     }
     return true;
 }