diff options
author | jacomi | 1998-03-25 16:51:06 +0000 |
---|---|---|
committer | jacomi | 1998-03-25 16:51:06 +0000 |
commit | 6143ab5fb9ee7f32f6f779c06c176957fac8c3f2 (patch) | |
tree | 3263dd6b18d5106249c4342869732d2c64f55838 /testbus.c | |
parent | dc706ef662bda4a843aa088696132078472400d5 (diff) | |
download | ivy-c-6143ab5fb9ee7f32f6f779c06c176957fac8c3f2.zip ivy-c-6143ab5fb9ee7f32f6f779c06c176957fac8c3f2.tar.gz ivy-c-6143ab5fb9ee7f32f6f779c06c176957fac8c3f2.tar.bz2 ivy-c-6143ab5fb9ee7f32f6f779c06c176957fac8c3f2.tar.xz |
Upgrade FRC
Diffstat (limited to 'testbus.c')
-rw-r--r-- | testbus.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -116,12 +116,18 @@ void ApplicationCallback( BusClientPtr app, void *user_data, BusApplicationEvent { char *appname; char *host; + char **msgList; appname = GetApplicationName( app ); host = GetApplicationHost( app ); switch ( event ) { case BusApplicationConnected: app_count++; printf("Application(%d): %s ready on %s\n",app_count, appname, host); + printf("Application(%s): Begin Messages\n", appname); + msgList = GetApplicationMessages( app ); + while( *msgList ) + printf("Application(%s): Receive '%s'\n",appname,*msgList++); + printf("Application(%s): End Messages\n",appname); if ( app_count == wait_count ) ChannelSetUp( 0, NULL, NULL, HandleStdin); break; |