All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lowentry.ue4.classes.sockets.LatentResponse Maven / Gradle / Ivy

There is a newer version: 9.9.9.DELETED
Show newest version
package lowentry.ue4.classes.sockets;


/**
 * For the implementation, see: {@link LatentResponseImplementation}
 */
public interface LatentResponse
{
	/**
	 * Cancels the latent function call.
	 */
	public void cancel();
	
	/**
	 * Sends a return packet.
	 */
	public void done(byte[] bytes);
	
	
	/**
	 * Cancels the latent function call.
*
* WARNING: Don't call this method yourself. */ public void canceledByClient(); /** * Cancels the latent function call.
*
* WARNING: Don't call this method yourself. */ public void canceledByDisconnecting(); /** * Returns true if a cancel packet has been sent, or if a cancel packet has been received. */ public boolean isCanceled(); /** * Returns true if a return packet has been sent. */ public boolean isDone(); /** * Execute the given Runnable when the latent function call is canceled. */ public void setOnCanceled(Runnable code); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy