| 917 | } |
| 918 | |
| 919 | CipConnectionObject *GetConnectedObject(const EipUint32 connection_id) { |
| 920 | DoublyLinkedListNode *iterator = connection_list.first; |
| 921 | |
| 922 | while(NULL != iterator) { |
| 923 | if(kConnectionObjectStateEstablished == |
| 924 | ConnectionObjectGetState(iterator->data) && |
| 925 | connection_id == |
| 926 | ConnectionObjectGetCipConsumedConnectionID(iterator->data) ) { |
| 927 | return iterator->data; |
| 928 | } |
| 929 | iterator = iterator->next; |
| 930 | } |
| 931 | return NULL; |
| 932 | } |
| 933 | |
| 934 | CipConnectionObject *GetConnectedOutputAssembly( |
| 935 | const EipUint32 output_assembly_id) { |
no test coverage detected