com.badlogic.gdx.backends.android
Class AndroidSocket
java.lang.Object
com.badlogic.gdx.backends.android.AndroidSocket
- All Implemented Interfaces:
- Socket, Disposable
public class AndroidSocket
- extends Object
- implements Socket
Socket implementation using java.net.Socket.
- Author:
- noblemaster
AndroidSocket
public AndroidSocket(Net.Protocol protocol,
String host,
int port,
SocketHints hints)
AndroidSocket
public AndroidSocket(Socket socket,
SocketHints hints)
isConnected
public boolean isConnected()
- Specified by:
isConnected in interface Socket
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStream in interface Socket
getOutputStream
public OutputStream getOutputStream()
- Specified by:
getOutputStream in interface Socket
dispose
public void dispose()
- Specified by:
dispose in interface Disposable
Copyright © 2013. All Rights Reserved.