SMDINetwork Class Reference

[SMDI Index] [SMDI Heirarchy]


SMDI service protocol via TCP network session. More...

#include <smdi.h>

Inherits: SMDI, TCPSocket

Public Members

Protected Members


Detailed Description

A class to implement SMDI through a TCP network connection using the APE TCP socket class.


SMDINetwork(InetHostAddress &host, short port, int pri = 0)

Connect SMDI service thread to a TCP network session with a TCP SMDI protocol server.

Parameters:
pri level for service thread.
port address of TCP SMDI session server.
host address for TCP SMDI session server.

int SendMsgWaiting(char *msg)

TCP session derived method for actually sending SMDI message waiting control messages to the switch.

Parameters:
msg waiting control string.
Returns:
-1 if error.

char *Readline(void)

TCP session derived method for reading SMDI input into the service thread.

Returns:
null if no data is available or null terminated string.

  • Author: David Sugar <dyfet@ostel.com>
  • Documentation generated by dyfet@centauri.sys on Wed Jun 30 22:40:59 EDT 1999
Kdoc