class EndpointBasedProvider extends BaseProvider
Modifier and Type | Field and Description |
---|---|
protected EndpointInternals |
endpointInternals
Object providing access to non-public endpoint operations
|
formatName
Constructor and Description |
---|
EndpointBasedProvider(String formatName,
EndpointInternals endpointInternals)
Constructs instance with the given format name and object providing
access to non-public endpoint operations.
|
Modifier and Type | Method and Description |
---|---|
(package private) static byte[] |
calcHandshakeHash(ByteBuffer request,
ByteBuffer response)
Returns the SHA-1 hash of the concatenation of the given unicast
discovery request and response handshake bytes.
|
(package private) static boolean |
checkIntegrity(InvocationConstraints constraints)
Returns true if the given constraints include Integrity.YES as a
requirement or preference; returns false otherwise.
|
private static void |
update(MessageDigest md,
ByteBuffer buf) |
getFormatName
protected final EndpointInternals endpointInternals
EndpointBasedProvider(String formatName, EndpointInternals endpointInternals)
static boolean checkIntegrity(InvocationConstraints constraints) throws UnsupportedConstraintException
UnsupportedConstraintException
static byte[] calcHandshakeHash(ByteBuffer request, ByteBuffer response)
private static void update(MessageDigest md, ByteBuffer buf)
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.