com.interfaceware.chameleon
Class WrapperLlp

java.lang.Object
  extended by com.interfaceware.chameleon.Wrapper
      extended by com.interfaceware.chameleon.WrapperLlp

public class WrapperLlp
extends Wrapper

This class is no longer used but will be supported for backward compatibility. New applications should use LlpServer and LlpClient. This class handles wrapping and unwrapping messages using the LLP protocol. It is an implementation of the Wrapper interface.


Constructor Summary
WrapperLlp()
           
 
Method Summary
 java.lang.String addWrapper(java.lang.String MessageData)
          Add the LLP wrapper to the message data.
 boolean detectMessage(java.lang.StringBuffer StringBuffer, java.lang.StringBuffer Message)
          Search the string buffer for the LLP wrapper.
 
Methods inherited from class com.interfaceware.chameleon.Wrapper
engine, setEngine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrapperLlp

public WrapperLlp()
Method Detail

addWrapper

public java.lang.String addWrapper(java.lang.String MessageData)
Add the LLP wrapper to the message data.

Specified by:
addWrapper in class Wrapper

detectMessage

public boolean detectMessage(java.lang.StringBuffer StringBuffer,
                             java.lang.StringBuffer Message)
Search the string buffer for the LLP wrapper. When a complete message is detected, the LLP wrapper is removed and the message text is returned. The buffer is updated each time a complete message is extracted.

Specified by:
detectMessage in class Wrapper