Class PushReceiver

  • All Implemented Interfaces:

    
    public class PushReceiver
    
                        

    function: 广播接收器,用来接受网络切换事件,如没有网络连接,由无线网切换到wifi等。 收到相应事件后,需要发送到工作线程,通知server进行相应处理。

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      PushReceiver()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void onReceive(Context context, Intent intent)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PushReceiver

        PushReceiver()
    • Method Detail

      • onReceive

         void onReceive(Context context, Intent intent)