navit  0.5.3-trunk
org.navitproject.navit.NavitWatch Class Reference
Inheritance diagram for org.navitproject.navit.NavitWatch:

Data Structures

class  WatchHandler
 

Public Member Functions

native void poll (long func, int fd, int cond)
 
native void watchCallback (long id)
 
void run ()
 
void remove ()
 

Package Functions

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

Private Member Functions

void callback ()
 

Private Attributes

Thread mThread
 
boolean mRemoved
 
long mWatchFunc
 
int mWatchFd
 
int mWatchCond
 
long mWatchCallbackid
 
boolean mCallbackPending
 
Runnable mCallbackRunnable
 

Static Private Attributes

static WatchHandler sHandler = new WatchHandler()
 

Constructor & Destructor Documentation

◆ NavitWatch()

Member Function Documentation

◆ callback()

◆ poll()

native void org.navitproject.navit.NavitWatch.poll ( long  func,
int  fd,
int  cond 
)

◆ remove()

void org.navitproject.navit.NavitWatch.remove ( )
inline

◆ run()

◆ watchCallback()

native void org.navitproject.navit.NavitWatch.watchCallback ( long  id)

Field Documentation

◆ mCallbackPending

boolean org.navitproject.navit.NavitWatch.mCallbackPending
private

◆ mCallbackRunnable

Runnable org.navitproject.navit.NavitWatch.mCallbackRunnable
private

◆ mRemoved

boolean org.navitproject.navit.NavitWatch.mRemoved
private

◆ mThread

Thread org.navitproject.navit.NavitWatch.mThread
private

◆ mWatchCallbackid

long org.navitproject.navit.NavitWatch.mWatchCallbackid
private

◆ mWatchCond

int org.navitproject.navit.NavitWatch.mWatchCond
private

◆ mWatchFd

int org.navitproject.navit.NavitWatch.mWatchFd
private

◆ mWatchFunc

long org.navitproject.navit.NavitWatch.mWatchFunc
private

◆ sHandler

WatchHandler org.navitproject.navit.NavitWatch.sHandler = new WatchHandler()
staticprivate

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