Both sides previous revisionPrevious revisionNext revision | Previous revision |
public:ipaaca:tools [2017/01/25 11:25] – hbuschme | public:ipaaca:tools [2017/01/25 11:45] (current) – [ipaaca-iu-sniffer] hbuschme |
---|
===== ipaaca-iu-injector ===== | ===== ipaaca-iu-injector ===== |
| |
ipaaca-iu-injector is a command line tool with which single IPAACA IUs or message-type-IUs can be send. | ''ipaaca-iu-injector'' is a command line tool with which single IPAACA IUs or message-type-IUs can be send. |
| |
By default it sends message-type-IUs. This can be changed by specifying the argument ''-t IU'', in which case the injector idles for a certain amount of time (3s default, configurable with the argument ''-k SECONDS'', e.g., ''-k 10'') before it exits. This is important when a receiving component makes a change to the published IU. | By default it sends message-type-IUs. This can be changed by specifying the argument ''-t IU'', in which case the injector idles for a certain amount of time (3s default, configurable with the argument ''-k SECONDS'', e.g., ''-k 10'') before it exits. This is important when a receiving component makes a change to the published IU. |
| |
| |
| ===== ipaaca-iu-sniffer ===== |
| |
| ''ipaaca-iu-sniffer'' is a command line tool with which all (or a filtered subset) of the IPAACA IUs or message-type-IUs can be monitored. |
| |
| By default it prints each IU/Message that is send on the channel "default". This can be changed by specifying a list of channels to monitor using the ''--channels CHANNEL [CHANNEL ...]'' argument, e.g., ''--channels billie vince''. |
| |
| The IUs/Messages that are printed can be further limited in two ways: |
| - By specifying the categories to listen to using the argument ''-c CATEGORY [CATEGORY ...]'' (where CATEGORY can also be a regular expression if the switch -r is given as an argument). Examples include: |
| * ''-c asrresults'' -- Only listen to IUs/Messages of the category asrresults |
| * ''-r -c "asr.*"'' -- Only listen to IUs/Messages of the categories with names that match the regular expression 'asr.', e.g., "asr", "asrresults", "asrcmds", … |
| * ''-r -c '^(?!asr).*$''' -- Listen to any category _except_ those starting with "asr" |
| - By specifying the event types to listen to using the argument ''-e EVENT-TYPE [EVENT-TYPE ...]'' (chosen from the set ''LINKSUPDATED UPDATED ADDED RETRACTED COMMITTED DELETED MESSAGE''). |