javax.microedition.io
Interface SocketConnection
- All Superinterfaces:
- Connection, InputConnection, OutputConnection, StreamConnection
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 option,
int value)
throws IllegalArgumentException,
IOException
- Throws:
IllegalArgumentException
IOException
getSocketOption
int getSocketOption(byte option)
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
JSR-82 Javadocs Apache License, Version 2.0 Copyright © 2001-2008 Motorola, Inc. ALL RIGHTS RESERVED.
BlueCove Javadocs GNU Lesser General Public License Copyright © 2004-2008 BlueCove Team.