//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QObject;

/**

 There are two classes that specifies the protocol between application
 (KIO.Job) and kioslave. SlaveInterface is the class to use on the application
 end, SlaveBase is the one to use on the slave end.
 A call to foo() results in a call to slotFoo() on the other end.
  See {@link SlaveInterfaceSignals} for signals emitted by SlaveInterface
		@short    There are two classes that specifies the protocol between application  (KIO.Job) and kioslave.

*/
public class SlaveInterface extends QObject  {
	protected SlaveInterface(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	public native void setConnection(Connection connection);
	public native Connection connection();
	public native void setProgressId(int id);
	public native int progressId();
	/**	 Send our answer to the MSG_RESUME (canResume) request
		 (to tell the "put" job whether to resume or not)
		     		@short   Send our answer to the MSG_RESUME (canResume) request  (to tell the "put" job whether to resume or not)
	*/
	public native void sendResumeAnswer(boolean resume);
	public native void setOffset(long offset);
	public native long offset();
}
