I'm trying to figure out what is the normal way of casting a incoming
message to the appropriate type.

Specifically, if I register for messages with:

*server.registerApplication("*", "*", handler);*


I see the following:

MSH -> getMESSAGETYPE() -> getMessageType() ->  getValue()

Is this what I switch on, and cast? Or is there another preferred way?
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to