public class HandshakeLogic extends Object
| Constructor and Description |
|---|
HandshakeLogic() |
| Modifier and Type | Method and Description |
|---|---|
static ProtocolVersion |
negotiateVersion(OfmHello h1,
OfmHello h2)
Determines the protocol version that is common to both HELLO messages;
returns null if no such version exists.
|
public static ProtocolVersion negotiateVersion(OfmHello h1, OfmHello h2)
See Section 6.3.1 "Connection Setup" of the 1.3.1 OpenFlow Spec.
h1 - hello message oneh2 - hello message twoCopyright © 2014. All Rights Reserved.