Lines Matching defs:id
43 long id;
46 SharedMemoryListenKey(long id, String name) {
47 this.id = id;
51 long id() {
52 return id;
55 void setId(long id) {
56 this.id = id;
100 private native void stopListening0(long id) throws IOException;
101 private native long accept0(long id, long acceptTimeout) throws IOException;
102 private native String name(long id) throws IOException;
108 long id = attach0(address, attachTimeout);
109 SharedMemoryConnection conn = new SharedMemoryConnection(id);
118 long id = startListening0(address);
119 return new SharedMemoryListenKey(id, name(id));
131 long id;
134 id = key.id();
135 if (id == 0) {
139 // invalidate the id
142 stopListening0(id);
153 transportId = key.id();
161 // with an invalid "transport id" - this should result in an
172 private long id;
178 private native byte receiveByte0(long id) throws IOException;
179 private native void sendByte0(long id, byte b) throws IOException;
180 private native void close0(long id);
181 private native byte[] receivePacket0(long id)throws IOException;
182 private native void sendPacket0(long id, byte b[]) throws IOException;
189 sendByte0(id, hello[i]);
192 byte b = receiveByte0(id);
200 SharedMemoryConnection(long id) throws IOException {
201 this.id = id;
207 close0(id);
227 b = receivePacket0(id);
269 sendPacket0(id, b);