cmlabs::NetTelnetProtocol Class Reference

#include <NetTelnetProtocol.h>

Inheritance diagram for cmlabs::NetTelnetProtocol:

Inheritance graph
Collaboration diagram for cmlabs::NetTelnetProtocol:

Collaboration graph

List of all members.

Public Member Functions

 NetTelnetProtocol (JString greeting="Welcome to the System", JString prompt="sys > ")
virtual ~NetTelnetProtocol ()
Objectclone () const
bool checkBufferForCompatibility (char *buffer, int length)
bool initializeConversation (JSocket *socket)
bool sendObject (JSocket *socket, Message *msg, bool isReply)
MessagereceiveObject (JSocket *socket, int timeout)

Public Attributes

JString welcomeText
JString promptText

Detailed Description

Definition at line 38 of file NetTelnetProtocol.h.

Constructor & Destructor Documentation

cmlabs::NetTelnetProtocol::NetTelnetProtocol ( JString  greeting = "Welcome to the System",
JString  prompt = "sys > " 

Definition at line 33 of file NetTelnetProtocol.cpp.

cmlabs::NetTelnetProtocol::~NetTelnetProtocol (  )  [virtual]

Definition at line 40 of file NetTelnetProtocol.cpp.

Member Function Documentation

Object * cmlabs::NetTelnetProtocol::clone (  )  const [virtual]

Implements cmlabs::NetProtocol.

Definition at line 45 of file NetTelnetProtocol.cpp.

bool cmlabs::NetTelnetProtocol::checkBufferForCompatibility ( char *  buffer,
int  length 
) [virtual]

Implements cmlabs::NetProtocol.

Definition at line 49 of file NetTelnetProtocol.cpp.

bool cmlabs::NetTelnetProtocol::initializeConversation ( JSocket socket  )  [virtual]

Implements cmlabs::NetProtocol.

Definition at line 62 of file NetTelnetProtocol.cpp.

bool cmlabs::NetTelnetProtocol::sendObject ( JSocket socket,
Message msg,
bool  isReply 
) [virtual]

Implements cmlabs::NetProtocol.

Definition at line 80 of file NetTelnetProtocol.cpp.

Message * cmlabs::NetTelnetProtocol::receiveObject ( JSocket socket,
int  timeout 
) [virtual]

Implements cmlabs::NetProtocol.

Definition at line 116 of file NetTelnetProtocol.cpp.

Member Data Documentation

Definition at line 44 of file NetTelnetProtocol.h.

Definition at line 45 of file NetTelnetProtocol.h.

The documentation for this class was generated from the following files:

Generated on Tue Jul 7 16:23:28 2009 for CoreLibrary by  doxygen 1.5.6