|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This class is provides extensions to javax.microedition.io.SocketConnection. It provides additional socket configuration abilities.
| Field Summary | ||
|
static short |
READ_TIMEOUT
Socket option for the time in milliseconds to wait for blocking read calls. (254) |
| Method Summary | ||
|
long |
getSocketOptionEx(short option)
Get a socket option for this connection. |
|
void |
setSocketOptionEx(short option,
long value)
Set a socket option for this connection. |
| Field Detail |
public static final short READ_TIMEOUT
| Method Detail |
public long getSocketOptionEx(short option)
throws IllegalArgumentException,
IOException
option - socket option identifierIllegalArgumentException - if the option identifier is
not validIOException - if the connection was closedsetSocketOptionEx(short, long)
public void setSocketOptionEx(short option,
long value)
throws IllegalArgumentException,
IOException
option - socket option identifiervalue - value for specified optionIllegalArgumentException - if the value is not
valid (e.g. negative value) or if the option
identifier is not validIOException - if the connection was closedgetSocketOptionEx(short)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2007 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.