Java client BECN implementation (#155)
This commit is contained in:
committed by
Jason Watkins
parent
90ccec0d07
commit
c018d6c3be
14
Java/src/discovery/DiscoveryConnectionCallback.java
Normal file
14
Java/src/discovery/DiscoveryConnectionCallback.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package gov.nasa.xpc.discovery;
|
||||
|
||||
import gov.nasa.xpc.XPlaneConnect;
|
||||
|
||||
public interface DiscoveryConnectionCallback {
|
||||
|
||||
/**
|
||||
* Helper callback called when a 1st XPlanePlugin is discovered. When the 1st packet is received, an XPlaneConnect
|
||||
* instance is created and the discovery is stopped.
|
||||
*
|
||||
* @param xpc The XPlaneConnect instance configured with the discovered
|
||||
*/
|
||||
void onConnectionEstablished(XPlaneConnect xpc);
|
||||
}
|
||||
Reference in New Issue
Block a user