
lowentry.ue4.classes.sockets.LatentResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java Show documentation
Show all versions of java Show documentation
A Java library for the Low Entry UE4 plugins.
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