Spring Integration

org.springframework.integration.ip.tcp
Interface MessageFormats

All Known Implementing Classes:
AbstractSocketReader, AbstractSocketWriter, NetSocketReader, NetSocketWriter, NioSocketReader, NioSocketWriter

public interface MessageFormats

Definition of message formats supported by tcp channel adapters.

Author:
Gary Russell

Field Summary
static int ETX
           
static int FORMAT_CRLF
          Message has format '<message>\r\n'.
static int FORMAT_CUSTOM
          Message has custom format.
static int FORMAT_IMPLICIT
          Not a real format; any formats less than this must use a byte[] payload (or a String for outbound).
static int FORMAT_JAVA_SERIALIZED
          Message contains a Serializable object
static int FORMAT_LENGTH_HEADER
          Message has format '<length><message>'.
static int FORMAT_STX_ETX
          Message has format 'STX<message>ETX'.
static int STX
           
 

Field Detail

FORMAT_LENGTH_HEADER

static final int FORMAT_LENGTH_HEADER
Message has format '<length><message>'.

See Also:
Constant Field Values

FORMAT_STX_ETX

static final int FORMAT_STX_ETX
Message has format 'STX<message>ETX'.

See Also:
Constant Field Values

FORMAT_CRLF

static final int FORMAT_CRLF
Message has format '<message>\r\n'.

See Also:
Constant Field Values

FORMAT_IMPLICIT

static final int FORMAT_IMPLICIT
Not a real format; any formats less than this must use a byte[] payload (or a String for outbound). Formats higher have implied format (e.g. Serializable).

See Also:
Constant Field Values

FORMAT_JAVA_SERIALIZED

static final int FORMAT_JAVA_SERIALIZED
Message contains a Serializable object

See Also:
Constant Field Values

FORMAT_CUSTOM

static final int FORMAT_CUSTOM
Message has custom format.

See Also:
Constant Field Values

STX

static final int STX
See Also:
Constant Field Values

ETX

static final int ETX
See Also:
Constant Field Values

Spring Integration

Copyright © 2010. All Rights Reserved.