Major update:

- Rename Function LocalIO -> Channel (Parameters & Methods)
This commit is contained in:
Charl Wentzel
2016-08-23 13:19:43 +02:00
parent 5ea05d119e
commit 7564e6a288
6 changed files with 146 additions and 147 deletions

View File

@@ -102,7 +102,7 @@ struct SHandle {
long ReopenTimeout; // millisecs
// List / Tree
TLocalIO * LocalIO;
TChannel * Channel;
THandle * Parent;
THandle * Next;
};
@@ -224,7 +224,7 @@ public:
}
// Configuration
THandle * CreateHandle( const char * HandleName, bool CreateIO );
THandle * CreateHandle( const char * HandleName, bool CreateChannel );
bool SetAutoManage( THandle * Handle, bool AutoManage, int ReopenTime = 0 );
bool SetBuffers( THandle * Handle, int InBufSize, int OutBufSize, int InTimeout, const char * InMarker, int InMarkerLen );
bool SerialConfig( THandle * Handle, int Baud, short DataBits, short StopBits, short Parity, short FlowCtrl, int Wait );
@@ -248,7 +248,7 @@ public:
inline virtual bool Write( int FD ) { return (Write( GetHandle( FD ))); };
// Function Interface
virtual int Input( const char *IOName, const char * Buffer, int BufLen = -1 );
virtual int Input( const char *ChannelName, const char * Buffer, int BufLen = -1 );
virtual bool Process();
};