Class HeadlessNet

  • All Implemented Interfaces:
    com.badlogic.gdx.Net

    public class HeadlessNet
    extends java.lang.Object
    implements com.badlogic.gdx.Net
    Headless implementation of the Net API, based on LWJGL implementation
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.badlogic.gdx.Net

        com.badlogic.gdx.Net.HttpMethods, com.badlogic.gdx.Net.HttpRequest, com.badlogic.gdx.Net.HttpResponse, com.badlogic.gdx.Net.HttpResponseListener, com.badlogic.gdx.Net.Protocol
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancelHttpRequest​(com.badlogic.gdx.Net.HttpRequest httpRequest)  
      com.badlogic.gdx.net.Socket newClientSocket​(com.badlogic.gdx.Net.Protocol protocol, java.lang.String host, int port, com.badlogic.gdx.net.SocketHints hints)  
      com.badlogic.gdx.net.ServerSocket newServerSocket​(com.badlogic.gdx.Net.Protocol protocol, int port, com.badlogic.gdx.net.ServerSocketHints hints)  
      com.badlogic.gdx.net.ServerSocket newServerSocket​(com.badlogic.gdx.Net.Protocol protocol, java.lang.String hostname, int port, com.badlogic.gdx.net.ServerSocketHints hints)  
      boolean openURI​(java.lang.String URI)  
      void sendHttpRequest​(com.badlogic.gdx.Net.HttpRequest httpRequest, com.badlogic.gdx.Net.HttpResponseListener httpResponseListener)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • sendHttpRequest

        public void sendHttpRequest​(com.badlogic.gdx.Net.HttpRequest httpRequest,
                                    com.badlogic.gdx.Net.HttpResponseListener httpResponseListener)
        Specified by:
        sendHttpRequest in interface com.badlogic.gdx.Net
      • cancelHttpRequest

        public void cancelHttpRequest​(com.badlogic.gdx.Net.HttpRequest httpRequest)
        Specified by:
        cancelHttpRequest in interface com.badlogic.gdx.Net
      • newServerSocket

        public com.badlogic.gdx.net.ServerSocket newServerSocket​(com.badlogic.gdx.Net.Protocol protocol,
                                                                 java.lang.String hostname,
                                                                 int port,
                                                                 com.badlogic.gdx.net.ServerSocketHints hints)
        Specified by:
        newServerSocket in interface com.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:
        newServerSocket in interface com.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:
        newClientSocket in interface com.badlogic.gdx.Net
      • openURI

        public boolean openURI​(java.lang.String URI)
        Specified by:
        openURI in interface com.badlogic.gdx.Net