Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The type of the socket option value.public interface SocketOption<T>
A socket option associated with a socket.
In the channels
package, the NetworkChannel
interface defines the setOption
and getOption
methods to set and query the channel's socket options.
StandardSocketOption
Modifier and Type | Method and Description |
---|---|
String |
name()
Returns the name of the socket option. |
Class<T> |
type()
Returns the type of the socket option value. |
Method Detail |
---|
String name()
Class<T> type()
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.