| Package | Description |
|---|---|
| org.eclipse.californium.elements |
| Modifier and Type | Class and Description |
|---|---|
class |
AddressEndpointContext
A endpoint context providing the inet socket address and a optional
principal.
|
class |
DtlsEndpointContext
An endpoint context that explicitly supports DTLS specific properties.
|
class |
MapBasedEndpointContext
A map based endpoint context.
|
class |
TcpEndpointContext
A endpoint context that explicitly supports TCP specific properties.
|
class |
TlsEndpointContext
A endpoint context that explicitly supports TLS specific properties.
|
class |
UdpEndpointContext
A endpoint context for plain UDP.
|
| Modifier and Type | Method and Description |
|---|---|
EndpointContext |
RawData.getEndpointContext()
Gets additional information regarding the context this message has been
received in or should be sent in.
|
| Modifier and Type | Method and Description |
|---|---|
static MapBasedEndpointContext |
MapBasedEndpointContext.addEntries(EndpointContext context,
String... attributes)
Add entries to endpoint context.
|
static RawData |
RawData.inbound(byte[] data,
EndpointContext peerEndpointContext,
boolean isMulticast)
Instantiates a new raw data for a message received from a peer.
|
boolean |
UdpEndpointContextMatcher.isResponseRelatedToRequest(EndpointContext requestContext,
EndpointContext responseContext) |
boolean |
PrincipalEndpointContextMatcher.isResponseRelatedToRequest(EndpointContext requestContext,
EndpointContext responseContext) |
boolean |
KeySetEndpointContextMatcher.isResponseRelatedToRequest(EndpointContext requestContext,
EndpointContext responseContext) |
boolean |
EndpointContextMatcher.isResponseRelatedToRequest(EndpointContext requestContext,
EndpointContext responseContext)
Check, if responses is related to the request.
|
static boolean |
KeySetEndpointContextMatcher.isSameVirtualHost(EndpointContext firstContext,
EndpointContext secondContext)
Checks if two endpoint contexts have the same virtual host property value.
|
boolean |
PrincipalEndpointContextMatcher.isToBeSent(EndpointContext messageContext,
EndpointContext connectorContext) |
boolean |
KeySetEndpointContextMatcher.isToBeSent(EndpointContext messageContext,
EndpointContext connectionContext) |
boolean |
EndpointContextMatcher.isToBeSent(EndpointContext messageContext,
EndpointContext connectionContext)
Check, if message should be sent out using the current endpoint
context of the connector.
|
static boolean |
EndpointContextUtil.match(String name,
Set<String> keys,
EndpointContext context1,
EndpointContext context2)
Match endpoint contexts based on a set of keys.
|
void |
RawData.onContextEstablished(EndpointContext context)
Callback, when context gets available.
|
void |
MessageCallback.onContextEstablished(EndpointContext context)
Called when the context information for an outbound message has been
established.
|
static RawData |
RawData.outbound(byte[] data,
EndpointContext peerEndpointContext,
MessageCallback callback,
boolean useMulticast)
Instantiates a new raw data for a message to be sent to a peer.
|
Copyright © 2019 Eclipse Foundation. All rights reserved.