com.neeve.emx
Enum EmxNwLnkProps.Socket

java.lang.Object
  extended by java.lang.Enum<EmxNwLnkProps.Socket>
      extended by com.neeve.emx.EmxNwLnkProps.Socket
All Implemented Interfaces:
Serializable, Comparable<EmxNwLnkProps.Socket>
Enclosing class:
EmxNwLnkProps

public static enum EmxNwLnkProps.Socket
extends Enum<EmxNwLnkProps.Socket>

Socket properties


Enum Constant Summary
backlog
          Maximum connection accept queue length (only for server endpoints).
linger
          Linger and attempt to flush unsent data while closing the underlying TCP connection?
lingertime
          How long to linger in case the LINGER property is set to true.
localifaddr
          Local interface address to bind to.
localifaddrbound
          Local interface address actually bound to.
localport
          Local port to bind to.
localportbound
          Local port actually bound to.
nativeio
          Use native socket IO.
recvbuffersize
          Underlying socket receive buffer size.
remoteifaddr
          Remote interface address to connect to.
remoteport
          Remote port to connect to.
sendbuffersize
          Underlying socket send buffer size.
 
Method Summary
static EmxNwLnkProps.Socket valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EmxNwLnkProps.Socket[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

localifaddr

public static final EmxNwLnkProps.Socket localifaddr
Local interface address to bind to.


localport

public static final EmxNwLnkProps.Socket localport
Local port to bind to.


localifaddrbound

public static final EmxNwLnkProps.Socket localifaddrbound
Local interface address actually bound to.


localportbound

public static final EmxNwLnkProps.Socket localportbound
Local port actually bound to.


remoteifaddr

public static final EmxNwLnkProps.Socket remoteifaddr
Remote interface address to connect to.


remoteport

public static final EmxNwLnkProps.Socket remoteport
Remote port to connect to.


sendbuffersize

public static final EmxNwLnkProps.Socket sendbuffersize
Underlying socket send buffer size.


recvbuffersize

public static final EmxNwLnkProps.Socket recvbuffersize
Underlying socket receive buffer size.


linger

public static final EmxNwLnkProps.Socket linger
Linger and attempt to flush unsent data while closing the underlying TCP connection?


lingertime

public static final EmxNwLnkProps.Socket lingertime
How long to linger in case the LINGER property is set to true.


backlog

public static final EmxNwLnkProps.Socket backlog
Maximum connection accept queue length (only for server endpoints).


nativeio

public static final EmxNwLnkProps.Socket nativeio
Use native socket IO.

Method Detail

values

public static EmxNwLnkProps.Socket[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (EmxNwLnkProps.Socket c : EmxNwLnkProps.Socket.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EmxNwLnkProps.Socket valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2015 Neeve Research, LLC. All Rights Reserved.