1.0.0

org.eclipse.soda.dk.message
Class AsciiMessage

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

public class AsciiMessage
extends Message

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
AsciiMessage()
          Constructor for AsciiMessage.
AsciiMessage(byte[] data)
          Constructor for AsciiMessage.
AsciiMessage(java.lang.String data)
          Constructor for AsciiMessage.
 
Method Summary
 java.lang.String toString()
          Perform the toString method and return the String result.
static java.lang.String toString(byte[] bytes)
          To string with the specified bytes parameter and return the String result.
 
Methods inherited from class org.eclipse.soda.dk.message.Message
clone, decodeMessage, decodeMessage, encodeMessage, encodeMessage, equals, get, getBoolean, getByte, getBytes, getData, getDataBytes, getDataLength, 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

AsciiMessage

public AsciiMessage()
Constructor for AsciiMessage.

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

AsciiMessage

public AsciiMessage(java.lang.String data)
Constructor for AsciiMessage.

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

AsciiMessage

public AsciiMessage(byte[] data)
Constructor for AsciiMessage.

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

toString

public static java.lang.String toString(byte[] bytes)
To string with the specified bytes parameter and return the String result.

Parameters:
bytes - The bytes (byte[]) parameter.
Returns:
Results of the to string (String) value.
See Also:
toString()

toString

public java.lang.String toString()
Perform the toString method and return the String result.

Overrides:
toString in class Message
Returns:
Results of the to string (String) value.
See Also:
toString(byte[])

1.0.0

Copyright (c) 1999, 2007 IBM