jAER project on SourceForge

net.sf.jaer.eventio
Interface AENetworkInterfaceConstants


public interface AENetworkInterfaceConstants

Holds static values for AE stream socket and datagram connection classes.

A useful page for multicasting (on which the AEs can be streamed) is this FAQ.

Author:
tobi

Field Summary
static int DATAGRAM_BUFFER_SIZE_BYTES
          the sockets are set up to try to get this size in bytes as the buffer size.
static int DATAGRAM_PORT
          the default port that unicast connections use
static int EVENT_SIZE_BYTES
          size of socket event in bytes
static int MAX_DATAGRAM_EVENTS
          the maximum number deliverable over a socket per packet.
static java.lang.String MULTICAST_INETADDR
          the default inet address we multicast to.
static int STREAM_PORT
          the default port the stream socket is created on
 

Field Detail

STREAM_PORT

static final int STREAM_PORT
the default port the stream socket is created on

See Also:
Constant Field Values

DATAGRAM_PORT

static final int DATAGRAM_PORT
the default port that unicast connections use

See Also:
Constant Field Values

MULTICAST_INETADDR

static final java.lang.String MULTICAST_INETADDR
the default inet address we multicast to. Not used with unicast communications.

See Also:
Constant Field Values

EVENT_SIZE_BYTES

static final int EVENT_SIZE_BYTES
size of socket event in bytes

See Also:
Constant Field Values

DATAGRAM_BUFFER_SIZE_BYTES

static final int DATAGRAM_BUFFER_SIZE_BYTES
the sockets are set up to try to get this size in bytes as the buffer size. The max number of events per packet is computed from this socket buffer size.

See Also:
Constant Field Values

MAX_DATAGRAM_EVENTS

static final int MAX_DATAGRAM_EVENTS
the maximum number deliverable over a socket per packet. The UDP buffers are sized according to this number.

See Also:
Constant Field Values

jAER project on SourceForge