1.0.0

org.eclipse.soda.dk.message
Class AsciiCrlfMessage

java.lang.Object
  extended by org.eclipse.soda.dk.message.Message
      extended by org.eclipse.soda.dk.message.AsciiMessage
          extended by org.eclipse.soda.dk.message.AsciiCrlfMessage
All Implemented Interfaces:
java.lang.Cloneable, MessageService

public class AsciiCrlfMessage
extends AsciiMessage

Version:
1.0.0

Field Summary
 
Fields inherited from interface org.eclipse.soda.dk.message.service.MessageService
HIGH_PRIORITY, LOW_PRIORITY, MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY, STRING, THREAD_PRIORITY
 
Constructor Summary
AsciiCrlfMessage()
          Constructs an instance of this class.
AsciiCrlfMessage(byte[] data)
          Constructs an instance of this class from the specified data parameter.
AsciiCrlfMessage(java.lang.String data)
          Constructs an instance of this class from the specified data parameter.
 
Method Summary
 int getDataLength()
          Gets the data length (int) value.
 
Methods inherited from class org.eclipse.soda.dk.message.AsciiMessage
toString, toString
 
Methods inherited from class org.eclipse.soda.dk.message.Message
clone, decodeMessage, decodeMessage, encodeMessage, encodeMessage, equals, get, getBoolean, getByte, getBytes, getData, getDataBytes, getDataOffset, getInt, getIntByte, getIntByte, getKey, getLittleEndianInt, getLittleEndianLong, getLong, getLongByte, getLongByte, getParameter, getPriority, getShort, hashCode, isBigEndian, length, lookup, matches, put, setBoolean, setByte, setBytes, setData, setInt, setLong, setShort
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AsciiCrlfMessage

public AsciiCrlfMessage()
Constructs an instance of this class.

See Also:
AsciiCrlfMessage(String), AsciiCrlfMessage(byte[])

AsciiCrlfMessage

public AsciiCrlfMessage(java.lang.String data)
Constructs an instance of this class from the specified data parameter.

Parameters:
data - The data (String) parameter.
See Also:
AsciiCrlfMessage(), AsciiCrlfMessage(byte[])

AsciiCrlfMessage

public AsciiCrlfMessage(byte[] data)
Constructs an instance of this class from the specified data parameter.

Parameters:
data - The data (byte[]) parameter.
See Also:
AsciiCrlfMessage(), AsciiCrlfMessage(String)
Method Detail

getDataLength

public int getDataLength()
Gets the data length (int) value.

Specified by:
getDataLength in interface MessageService
Overrides:
getDataLength in class Message
Returns:
The data length (int) value.

1.0.0

Copyright (c) 1999, 2007 IBM