|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JdmkLegacyConnector
.
public interface HttpConnectorServerMBean
Method Summary | |
---|---|
int |
getTimeout()
Deprecated. Returns setting for Timeout. |
void |
setTimeout(int value)
Deprecated. Enables/disables Timeout with the specified timeout, in milliseconds. |
Methods inherited from interface com.sun.jdmk.comm.GenericHttpConnectorServerMBean |
---|
getActiveClientCount, getLastConnectedClient, getMaxActiveClientCount, getServedClientCount, isAuthenticationOn, setMaxActiveClientCount |
Methods inherited from interface com.sun.jdmk.comm.CommunicatorServerMBean |
---|
getHost, getPort, getProtocol, getState, getStateString, isActive, setPort, start, stop, waitState |
Method Detail |
---|
int getTimeout()
A return value of 0 implies that the option is disabled (i.e. timeout of infinity).
void setTimeout(int value) throws IllegalStateException
With this option set to a non-zero timeout, a read() call on the InputStream associated with this Socket will block for only this amount of time. If the timeout expires, a java.io.InterruptedIOException is raised, though the Socket is still valid. The option must be enabled prior to entering the blocking operation to have effect. The timeout must be > 0. A timeout of zero is interpreted as an infinite timeout.
value
- The new value of the property.
IllegalStateException
- This method has been invoked
while the connector was ONLINE or STARTING.
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |