com.sun.sgs.nio.channels
Interface SocketOption

All Known Implementing Classes:
StandardSocketOption

public interface SocketOption

A socket option associated with a socket. A NetworkChannel defines the setOption and getOption methods to configure and query the socket options of the channel's socket.


Method Summary
 String name()
          Returns the name of the socket option.
 Class<?> type()
          Returns the type of the socket option value.
 

Method Detail

name

String name()
Returns the name of the socket option.

Returns:
the name of the socket option

type

Class<?> type()
Returns the type of the socket option value.

Returns:
the type of the socket option value

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved