navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
org.navitproject.navit.NavitWatch Class Reference
Inheritance diagram for org.navitproject.navit.NavitWatch:

Public Member Functions

native void poll (int func, int fd, int cond)
 
native void WatchCallback (int id)
 
void run ()
 
void callback ()
 
void remove ()
 

Package Functions

 NavitWatch (int func, int fd, int cond, int callbackid)
 

Private Attributes

Thread thread
 
boolean removed
 
int watch_func
 
int watch_fd
 
int watch_cond
 
int watch_callbackid
 
boolean callback_pending
 
Runnable callback_runnable
 

Static Private Attributes

static Handler handler
 

Constructor & Destructor Documentation

Member Function Documentation

native void org.navitproject.navit.NavitWatch.poll ( int  func,
int  fd,
int  cond 
)
void org.navitproject.navit.NavitWatch.remove ( )
inline
native void org.navitproject.navit.NavitWatch.WatchCallback ( int  id)

Field Documentation

boolean org.navitproject.navit.NavitWatch.callback_pending
private
Runnable org.navitproject.navit.NavitWatch.callback_runnable
private
Handler org.navitproject.navit.NavitWatch.handler
staticprivate
Initial value:
=new Handler() {
public void handleMessage(Message m) {
Log.e("NavitWatch","Handler received message");
}
}
Thread org.navitproject.navit.NavitWatch.thread
private
int org.navitproject.navit.NavitWatch.watch_callbackid
private
int org.navitproject.navit.NavitWatch.watch_cond
private
int org.navitproject.navit.NavitWatch.watch_fd
private
int org.navitproject.navit.NavitWatch.watch_func
private

The documentation for this class was generated from the following file: