Actions

Stentofon.AlphaCom.AlphaNet.dll

From Zenitel Wiki

Library for Handling AlphaNet communication with AlphaCom node(s).


Release Info

See Release Notes

Short Library Description

For details see the compiled help file: Stentofon.AlphaCom.AlphaNet.chm

One single node as well as a complete AlphaCom node network is supported. The library includes code for Message parsing, Message sending, and being an AlphaNet client (TCP/IP, connection monitoring etc).


Namespace Short Description Status
Messages Classes for all AlphaNet Data Protocol Messages, and general class for parsing of AlphaNet message. Beta Release
Client AlphaNet Client ("OPC mode") with .NET event support on messages Beta Release
Config Common definitions, and experimental config structures for the library.. Beta Release

AlphaNet Messages

Each AlphaNet Message has its own class derived from the base class ApplicationMessage. The SLLParser class does the real parsing job. It will return an ApplicationMessage object. Each derived ApplicationMessage is required to implement a ToString() method so every message is printable. The message format can also be configured through the AlphaConfig class and the OPCServerConfigurator application. If special handling of a message is required the application needs to read the member variables from the parsed object, example:


ApplicationMessage am = null; 
am = _alphaParser.DecodeMessage(Message);
if (am != null)
{
// Do special handling of Messages if needed.
     if (am is StationConnect)
     {
         StationConnect sc = (StationConnect)am;
         Int16 conRef = sc.ConnectionRef;