All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iceberg.iap.gsm_iap.AttachDetachThr

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----iceberg.iap.gsm_iap.AttachDetachThr

public class AttachDetachThr
extends Thread
Thread to receive registrations for cell-phone's IMSIAttach/IMSIDetach notifications. The thread also sends periodic notifications of attached/detached cell-phones to registered users. All messages are sent on a TCP connection on REGN_PORT. Regn messages are expected every 5 seconds. Updates are sent every 5 seconds. Regn is canceled if no regn is received for 25 seconds. On canceling regn, socket connection is reset.


Variable Index

 o MAX_MISSES
Max num regn msgs that can be missed

Constructor Index

 o AttachDetachThr()

Method Index

 o run()

Variables

 o MAX_MISSES
 public static final int MAX_MISSES
Max num regn msgs that can be missed

Constructors

 o AttachDetachThr
 public AttachDetachThr()

Methods

 o run
 public void run()
Overrides:
run in class Thread

All Packages  Class Hierarchy  This Package  Previous  Next  Index