|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.interfaceware.chameleon.Wrapper
public abstract class 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 of text messages. Since the
class is abstract, it cannot be instantiated and a specific
wrapping/unwrapping protocol must be handled by a descendant class.
Constructor Summary | |
---|---|
Wrapper()
|
Method Summary | |
---|---|
abstract java.lang.String |
addWrapper(java.lang.String MessageData)
This method must be overridden in a descendant class to add a specific wrapper to the message data. |
abstract boolean |
detectMessage(java.lang.StringBuffer Buffer,
java.lang.StringBuffer Message)
This method must be overridden in a descendant class to detect the beginning and end of a message for a specific wrapper protocol. |
Engine |
engine()
Get the Engine assigned to parse messages for this wrapper. |
void |
setEngine(Engine AEngine)
Set the specified engine to parse messages from this wrapper. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Wrapper()
Method Detail |
---|
public abstract java.lang.String addWrapper(java.lang.String MessageData)
public abstract boolean detectMessage(java.lang.StringBuffer Buffer, java.lang.StringBuffer Message)
true
if a message is present in the buffer.
Otherwise it should just return false
and not alter the buffer. In this
case the Message is undefined.
public void setEngine(Engine AEngine)
public Engine engine()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |