Introduce checked sendMessage() method
authorRobert Varga <rovarga@cisco.com>
Tue, 18 Feb 2014 10:39:14 +0000 (11:39 +0100)
committerRobert Varga <rovarga@cisco.com>
Tue, 18 Feb 2014 10:39:14 +0000 (11:39 +0100)
commitf717a2e5042c1ad443167632a838970393b6c48a
tree7432207385121f595a5611a1f491ba453bb127e1
parentffdfdce3d09a0a652a61fedde8439a7437006c78
Introduce checked sendMessage() method

This method send a message down the socket and makes sure that
negotiation fails if the message does not reach the peer for any reason.
Subclasses should use this method instead of talking directly to the
underlying channel.

Change-Id: I5b8201caef1c4ba655dad12fb139b054b9e75f06
Signed-off-by: Robert Varga <rovarga@cisco.com>
src/main/java/org/opendaylight/protocol/framework/AbstractSessionNegotiator.java