javax.microedition.io
Interface SocketConnection
- All Superinterfaces:
- Connection, InputConnection, OutputConnection, StreamConnection
- All Known Subinterfaces:
- SecureConnection
public interface SocketConnection
- extends StreamConnection
DELAY
static final byte DELAY
- See Also:
- Constant Field Values
LINGER
static final byte LINGER
- See Also:
- Constant Field Values
KEEPALIVE
static final byte KEEPALIVE
- See Also:
- Constant Field Values
RCVBUF
static final byte RCVBUF
- See Also:
- Constant Field Values
SNDBUF
static final byte SNDBUF
- See Also:
- Constant Field Values
setSocketOption
void setSocketOption(byte arg1,
int arg2)
throws IllegalArgumentException,
IOException
- Throws:
IllegalArgumentException
IOException
getSocketOption
int getSocketOption(byte arg1)
throws IllegalArgumentException,
IOException
- Throws:
IllegalArgumentException
IOException
getLocalAddress
String getLocalAddress()
throws IOException
- Throws:
IOException
getLocalPort
int getLocalPort()
throws IOException
- Throws:
IOException
getAddress
String getAddress()
throws IOException
- Throws:
IOException
getPort
int getPort()
throws IOException
- Throws:
IOException
Copyright © 2006-2007 Jayway AB. All Rights Reserved.