view src/fdl/PSXLinda.java @ 71:0352536c33fa

(example: writer) get linda server addr from commandline arg.
author kazz@e065701.local
date Fri, 23 Oct 2009 14:11:07 +0900
parents d7d70edc9c7c
children a1d796c0e975
line wrap: on
line source

package fdl;

import java.io.IOException;
import java.nio.ByteBuffer;

public interface PSXLinda {


	public PSXReply in(int id) ;

	public void in(int id, PSXCallback callback);

	public PSXReply ck(int id) ;

	public void ck(int id, PSXCallback callback) ;

	public PSXReply out(int id, ByteBuffer data) ;

	public PSXReply update(int id, ByteBuffer data) ;

	public void update(int id, ByteBuffer data,PSXCallback callback) ;

	public PSXReply rd(int id) ;

	public void rd(int id, PSXCallback callback) ;

	public PSXLinda add(PSXLinda linda) ;

	public int sync() throws IOException ;

	public int sync(long mtime) throws IOException ;

	public void send(ByteBuffer command, ByteBuffer data);
}