Urbi SDK Remote for Java  2.7.5
urbi.UClient Class Reference

Linux implementation of UAbstractClient. More...

Inheritance diagram for urbi.UClient:
Collaboration diagram for urbi.UClient:

List of all members.

Public Member Functions

 UClient (long cPtr, boolean cMemoryOwn)
 UClient (String host, long port, long buflen)
 UClient (String host, long port)
 UClient (String host)
int closeUClient ()
synchronized void delete ()
long getCurrentTime ()
 Get time in milliseconds since an unspecified but constant.
void printf (String format)
int send (String format)
 Send the remainder of the stream.
int send (UValue v)
 Send the remainder of the stream.
void setKeepAliveCheck (long pingInterval, long pongTimeout)
void setSynchronousSend (boolean enable)
int start ()
 Bounce to listen or connect, depending whether server mode.
void waitForKernelVersion ()
 Block until kernel version is available or an error occurrs.

Static Public Member Functions

static long getCPtr (UClient obj)

Protected Member Functions

void finalize ()

Detailed Description

Linux implementation of UAbstractClient.

This implementation uses a shared thread between all the instances to handle Socket operations, and call the registered callbacks in that thread.

Definition at line 15 of file UClient.java.


Member Function Documentation

long urbi.UClient.getCurrentTime ( )

Get time in milliseconds since an unspecified but constant.

reference time.

Reimplemented from urbi.UAbstractClient.

Definition at line 80 of file UClient.java.

void urbi.UClient.waitForKernelVersion ( )

Block until kernel version is available or an error occurrs.

Message processing must not depend on this thread.

Reimplemented from urbi.UAbstractClient.

Definition at line 61 of file UClient.java.


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