There may be some situations where a caller (i.e. MessageContext) would like to prevent any handshake attempts from being made, even if it comes at the cost of successful transmission of their application data.
A MessageContext.isHandshakePermitted() function or something similar could be used by MslControl to throw a local exception if a handshake is required but not permitted.
There may be some situations where a caller (i.e.
MessageContext
) would like to prevent any handshake attempts from being made, even if it comes at the cost of successful transmission of their application data.A
MessageContext.isHandshakePermitted()
function or something similar could be used byMslControl
to throw a local exception if a handshake is required but not permitted.