AJCORE-1301: Fix concurrent modification error during shutdown.

Change-Id: I9d8b5d59bf6eb7794b4a5e3d2353ff4765c0cd3d
Signed-off-by: Todd Malsbary <tmalsbar@qce.qualcomm.com>
ASACORE-1219 Fix FoundAdvertisedName order for UDP and TCP transports

FoundAdvertisedName for a name advertised over both transports must
first arrive for UDP and then TCP.

Change-Id: Iaf280b2c25d00070f0292986df2922e8413f308e
Signed-off-by: Sheshambika Venkateshwaran <sheshamb@qce.qualcomm.com>
ASACORE-1267 Fix LostAdvertisedName for TCP
             in certain conditions.

If Advertise and Canceladvertise for UDP happens in quick succession,
changed is false, previously the TCP cancel advertisement may not be sent.

Change-Id: I581138a3c659250dbdb6e97c072253ee7d5119a5
Signed-off-by: Sheshambika Venkateshwaran <sheshamb@qce.qualcomm.com>
AJCORE-1300: Change iterator name in for() loop

This prevents obscuring another variable with the same name that was
declared in an outer scope.

Change-Id: I3be247233a064eeb35ebc7c4e3b5843dfdc0b9d5
Signed-off-by: Steve Kinneberg <stevek@qce.qualcomm.com>
AJCORE-1234: Fix possible resource leak

Found via static analysis tool.

Change-Id: Ia231cb9d59b633ba0109a301469d3ec5e081390d
Signed-off-by: Steve Kinneberg <stevek@qce.qualcomm.com>
ASACORE-1261: Return status code for invalid interface name

Return a status code instead of throwing an exception when trying to
register a properties changed listener with an invalid interface name.

Change-Id: Ieb2008e2a3f3a4c939e75b03ddde34a467a89025
Signed-off-by: Steve Kinneberg <stevek@qce.qualcomm.com>
ASACORE-1285 C/C++ Documentation Cleanup

This cleans up all the documentation warnings generated by doxygen
Note the version of doxygen used was 1.8.6 a different version of
doxygen may generate different warnings.

Change-Id: Ieba32962b186818d147f03d9476c54fa6d84ea75
Signed-off-by: George Nash <georgen@qce.qualcomm.com>
ASACORE-1284 Fix discovery for certain scenarios.

Change-Id: Ia187e765b3b96d325513fc15dd1c8f059546a8d6
Signed-off-by: M. Sanu <msanu@qce.qualcomm.com>
AJCORE-1308 Fixed issue found using static analysis tool

We were using an assert to make sure the end of an iterator
was not being used.  Asserts are compiled out of release
code so we needed to add code to handle if the iterator is
invalid in release code.

Change-Id: Idffe2820e4b3541baf164ccf41b12170e5f30db9
Signed-off-by: George Nash <georgen@qce.qualcomm.com>
ASACORE-1264: EnablePeerSecurity fails the second time it's called

EnablePeerSecurity fails the second time it's called on the same bus
attachment: Updated documentation to indicate peer security needs to be
cleared before it can be changed.

Change-Id: I9c174b289b2d6dfe3df9e215b06da780a61efb4a
Signed-off-by: Marcello Lioy <mlioy@qce.qualcomm.com>
whitespace.py tool should be the same in both ajtcl and alljoyn

Change-Id: I34959c6f560a1587c9d59ef760f6e2531be1cdfe
Signed-off-by: Tony Wallace <awallace@qce.qualcomm.com>
Merge "ASACORE-1219 Fix FoundAdvertisedName order for UDP and TCP transports" into RB14.12
Merge "AJCORE-1234: Fix possible resource leak" into RB14.12
Merge "ASACORE-1261: Return status code for invalid interface name" into RB14.12
Merge "ASACORE-1284 Fix discovery for certain scenarios." into RB14.12
Merge "ASACORE-1267 Fix LostAdvertisedName for TCP              in certain conditions." into RB14.12
Merge "AJCORE-1300: Change iterator name in for() loop" into RB14.12
Merge "ASACORE-1285 C/C++ Documentation Cleanup" into RB14.12
Merge "AJCORE-1301: Fix concurrent modification error during shutdown." into RB14.12
Merge "ASACORE-1264: EnablePeerSecurity fails the second time it's called" into RB14.12