root / trunk / code / projects / libwireless / jni / lib / org / roboticsclub / colony / TokenRing.java @ 940
History | View | Annotate | Download (850 Bytes)
1 |
package org.roboticsclub.colony; |
---|---|
2 |
|
3 |
public class TokenRing |
4 |
{ |
5 |
public static native int wl_token_ring_register(); |
6 |
public static native void wl_token_ring_unregister(); |
7 |
public static native int wl_token_ring_join(); |
8 |
public static native void wl_token_ring_leave(); |
9 |
public static native int wl_token_get_robots_in_ring(); |
10 |
public static native int wl_token_is_robot_in_ring(int robot); |
11 |
public static native void wl_token_iterator_begin(); |
12 |
public static native int wl_token_iterator_has_next(); |
13 |
public static native int wl_token_iterator_next(); |
14 |
public static native int wl_token_get_sensor_reading(int source, int dest); |
15 |
public static native int wl_token_get_my_sensor_reading(int dest); |
16 |
public static native int wl_token_get_num_robots(); |
17 |
public static native int wl_token_get_matrix_size(); |
18 |
} |