15
|
1 package fdl;
|
|
2
|
|
3 import java.io.IOException;
|
|
4 import java.nio.ByteBuffer;
|
|
5
|
|
6 public interface PSXLindaInterface {
|
|
7
|
|
8
|
|
9 public PSXReply in(int id) ;
|
|
10
|
|
11 public void in(int id, PSXCallback callback);
|
|
12
|
|
13 public PSXReply ck(int id) ;
|
|
14
|
|
15 public void ck(int id, PSXCallback callback) ;
|
|
16
|
|
17 public PSXReply out(int id, ByteBuffer data,int size) ;
|
|
18
|
|
19 public PSXReply update(int id, ByteBuffer data,int size) ;
|
|
20
|
|
21 public void update(int id, ByteBuffer data,int size,PSXCallback callback) ;
|
|
22
|
|
23 public PSXReply rd(int id) ;
|
|
24
|
|
25 public void rd(int id, PSXCallback callback) ;
|
|
26
|
|
27 public PSXLinda add(PSXLinda linda) ;
|
|
28
|
|
29 public void send(ByteBuffer command,ByteBuffer data) throws IOException ;
|
|
30
|
|
31 public int sync() throws IOException ;
|
|
32
|
|
33 public int sync(long mtime) throws IOException ;
|
|
34 }
|