Package com.badlogic.gdx.backends.lwjgl3
Class Lwjgl3Net
- java.lang.Object
-
- com.badlogic.gdx.backends.lwjgl3.Lwjgl3Net
-
- All Implemented Interfaces:
com.badlogic.gdx.Net
public class Lwjgl3Net extends java.lang.Object implements com.badlogic.gdx.NetLWJGL implementation of theNetAPI, it could be reused in other Desktop backends since it doesn't depend on LWJGL.
-
-
Constructor Summary
Constructors Constructor Description Lwjgl3Net(Lwjgl3ApplicationConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancelHttpRequest(com.badlogic.gdx.Net.HttpRequest httpRequest)com.badlogic.gdx.net.SocketnewClientSocket(com.badlogic.gdx.Net.Protocol protocol, java.lang.String host, int port, com.badlogic.gdx.net.SocketHints hints)com.badlogic.gdx.net.ServerSocketnewServerSocket(com.badlogic.gdx.Net.Protocol protocol, int port, com.badlogic.gdx.net.ServerSocketHints hints)com.badlogic.gdx.net.ServerSocketnewServerSocket(com.badlogic.gdx.Net.Protocol protocol, java.lang.String ipAddress, int port, com.badlogic.gdx.net.ServerSocketHints hints)booleanopenURI(java.lang.String uri)voidsendHttpRequest(com.badlogic.gdx.Net.HttpRequest httpRequest, com.badlogic.gdx.Net.HttpResponseListener httpResponseListener)
-
-
-
Constructor Detail
-
Lwjgl3Net
public Lwjgl3Net(Lwjgl3ApplicationConfiguration configuration)
-
-
Method Detail
-
sendHttpRequest
public void sendHttpRequest(com.badlogic.gdx.Net.HttpRequest httpRequest, com.badlogic.gdx.Net.HttpResponseListener httpResponseListener)- Specified by:
sendHttpRequestin interfacecom.badlogic.gdx.Net
-
cancelHttpRequest
public void cancelHttpRequest(com.badlogic.gdx.Net.HttpRequest httpRequest)
- Specified by:
cancelHttpRequestin interfacecom.badlogic.gdx.Net
-
newServerSocket
public com.badlogic.gdx.net.ServerSocket newServerSocket(com.badlogic.gdx.Net.Protocol protocol, java.lang.String ipAddress, int port, com.badlogic.gdx.net.ServerSocketHints hints)- Specified by:
newServerSocketin interfacecom.badlogic.gdx.Net
-
newServerSocket
public com.badlogic.gdx.net.ServerSocket newServerSocket(com.badlogic.gdx.Net.Protocol protocol, int port, com.badlogic.gdx.net.ServerSocketHints hints)- Specified by:
newServerSocketin interfacecom.badlogic.gdx.Net
-
newClientSocket
public com.badlogic.gdx.net.Socket newClientSocket(com.badlogic.gdx.Net.Protocol protocol, java.lang.String host, int port, com.badlogic.gdx.net.SocketHints hints)- Specified by:
newClientSocketin interfacecom.badlogic.gdx.Net
-
openURI
public boolean openURI(java.lang.String uri)
- Specified by:
openURIin interfacecom.badlogic.gdx.Net
-
-