Minor Update:

- Added Output on Function Output events
This commit is contained in:
Charl Wentzel
2016-06-15 12:03:15 +02:00
parent b418fa73e0
commit 1ced40260d

View File

@@ -896,6 +896,8 @@ bool CSelectableCore::ProcessBuffer( THandle * Handle, bool Force )
LocalIO = Handle->LocalIO; LocalIO = Handle->LocalIO;
} }
if (LocalIO) { if (LocalIO) {
ShowOutput( DebugLevel, dlHigh, OutputDisplay, Data, Len, "%s: LocalIO '%s' - OUT:", Name, LocalIO->Name );
Output = LocalIO->FirstOutput; Output = LocalIO->FirstOutput;
while (Output) { while (Output) {
Output->Function->Input( Output->IOName, Data, Len ); Output->Function->Input( Output->IOName, Data, Len );
@@ -922,6 +924,8 @@ bool CSelectableCore::ProcessBuffer( THandle * Handle, bool Force )
LocalIO = Handle->LocalIO; LocalIO = Handle->LocalIO;
} }
if (LocalIO) { if (LocalIO) {
ShowOutput( DebugLevel, dlHigh, OutputDisplay, Data, Len, "%s: LocalIO '%s' - OUT:", Name, LocalIO->Name );
Output = LocalIO->FirstOutput; Output = LocalIO->FirstOutput;
while (Output) { while (Output) {
Output->Function->Input( Output->IOName, Data, Len ); Output->Function->Input( Output->IOName, Data, Len );
@@ -1019,7 +1023,7 @@ int CSelectableCore::Input( const char * IOName, const char * Data, int Len )
} }
// Log event // Log event
ShowOutput( DebugLevel, dlHigh, OutputDisplay, Data, Len, "%s: LocalIO '%s' - IN:", Name, IOName ); ShowOutput( DebugLevel, dlHigh, OutputDisplay, Data, Len, "%s: Local IO '%s' - IN:", Name, IOName );
if (Handle->Type == ctServer) if (Handle->Type == ctServer)
{ {