- checkOwner() - Method in class org.eclipse.californium.elements.util.SerialExecutor
-
- CLASSPATH_PROTOCOL - Static variable in class org.eclipse.californium.elements.util.SslContextUtil
-
Deprecated.
use CLASSPATH_SCHEME instead!
- CLASSPATH_SCHEME - Static variable in class org.eclipse.californium.elements.util.SslContextUtil
-
Scheme for key store URI.
- clear() - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
-
Removes all entries from the cache.
- ClockUtil - Class in org.eclipse.californium.elements.util
-
Clock utility.
- ClockUtil() - Constructor for class org.eclipse.californium.elements.util.ClockUtil
-
- ClockUtil.Realtime - Interface in org.eclipse.californium.elements.util
-
Handler to return the expired realtime in nanoseconds.
- close() - Method in class org.eclipse.californium.elements.util.Base64.OutputStream
-
Flushes and closes (I think, in the superclass) the stream.
- COAP_THREAD_GROUP - Static variable in class org.eclipse.californium.elements.util.NamedThreadFactory
-
The default thread group for Californium threads.
- configure(String, String) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
-
Configure key store types for URI endings.
- configure(String, SslContextUtil.InputStreamFactory) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
-
Configure input stream factory for URI scheme.
- configureDefaults() - Static method in class org.eclipse.californium.elements.util.SslContextUtil
-
Configure defaults.
- Connector - Interface in org.eclipse.californium.elements
-
A managed interface for exchanging messages between networked clients and a
server application.
- ConnectorFactory - Interface in org.eclipse.californium.elements
-
- create(Executor) - Static method in class org.eclipse.californium.elements.util.SerialExecutor
-
Create serial executor from provided executor.
- create(String) - Method in interface org.eclipse.californium.elements.util.SslContextUtil.InputStreamFactory
-
Create input stream of the provided URI.
- createDaemonThreads() - Method in class org.eclipse.californium.elements.util.DaemonThreadFactory
-
Always returns true since this is a factory for daemon threads.
- createDaemonThreads() - Method in class org.eclipse.californium.elements.util.NamedThreadFactory
-
Checks whether this factory creates daemon threads.
- createKeyManager(String, PrivateKey, X509Certificate[]) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
-
Create key manager from private key and certificate path.
- createKeySet(String...) - Static method in class org.eclipse.californium.elements.KeySetEndpointContextMatcher
-
Create key set from keys.
- createSSLContext(String, PrivateKey, X509Certificate[], Certificate[]) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
-
Create SSLContext with provided credentials and trusts.
- createSSLContext(String, PrivateKey, X509Certificate[], Certificate[], String) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
-
Create SSLContext with provided credentials and trusts.
- createTrustManager(String, Certificate[]) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
-
Create trust manager from trusted certificates.
- DaemonThreadFactory - Class in org.eclipse.californium.elements.util
-
A factory to create executor services with daemon threads.
- DaemonThreadFactory(String) - Constructor for class org.eclipse.californium.elements.util.DaemonThreadFactory
-
Creates a new factory for a prefix.
- DaemonThreadFactory(String, ThreadGroup) - Constructor for class org.eclipse.californium.elements.util.DaemonThreadFactory
-
Creates a new factory for a prefix and thread group.
- DatagramReader - Class in org.eclipse.californium.elements.util
-
This class describes the functionality to read raw network-ordered datagrams
on bit-level.
- DatagramReader(byte[]) - Constructor for class org.eclipse.californium.elements.util.DatagramReader
-
Creates a new reader for an array of bytes.
- DatagramReader(ByteArrayInputStream) - Constructor for class org.eclipse.californium.elements.util.DatagramReader
-
Creates a new reader for an bytes stream.
- DatagramWriter - Class in org.eclipse.californium.elements.util
-
This class describes the functionality to write raw network-ordered datagrams
on bit-level.
- DatagramWriter() - Constructor for class org.eclipse.californium.elements.util.DatagramWriter
-
Creates a new empty writer.
- DECODE - Static variable in class org.eclipse.californium.elements.util.Base64
-
Specify decoding in first bit.
- decode(byte[]) - Static method in class org.eclipse.californium.elements.util.Base64
-
Low-level access to decoding ASCII characters in
the form of a byte array.
- decode(byte[], int, int, int) - Static method in class org.eclipse.californium.elements.util.Base64
-
Low-level access to decoding ASCII characters in
the form of a byte array.
- decode(String) - Static method in class org.eclipse.californium.elements.util.Base64
-
Decodes data from Base64 notation, automatically
detecting gzip-compressed data and decompressing it.
- decode(String, int) - Static method in class org.eclipse.californium.elements.util.Base64
-
Decodes data from Base64 notation, automatically
detecting gzip-compressed data and decompressing it.
- decodeFileToFile(String, String) - Static method in class org.eclipse.californium.elements.util.Base64
-
Reads infile and decodes it to outfile.
- decodeFromFile(String) - Static method in class org.eclipse.californium.elements.util.Base64
-
Convenience method for reading a base64-encoded
file and decoding it.
- decodeToFile(String, String) - Static method in class org.eclipse.californium.elements.util.Base64
-
Convenience method for decoding data to a file.
- decodeToObject(String) - Static method in class org.eclipse.californium.elements.util.Base64
-
Attempts to decode Base64 data and deserialize a Java
Object within.
- decodeToObject(String, int, ClassLoader) - Static method in class org.eclipse.californium.elements.util.Base64
-
Attempts to decode Base64 data and deserialize a Java
Object within.
- DEFAULT_CAPACITY - Static variable in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
-
The cache's default maximum capacity.
- DEFAULT_ENDING - Static variable in class org.eclipse.californium.elements.util.SslContextUtil
-
Label to provide default key store type.
- DEFAULT_INITIAL_CAPACITY - Static variable in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
-
The cache's default initial capacity.
- DEFAULT_SSL_PROTOCOL - Static variable in class org.eclipse.californium.elements.util.SslContextUtil
-
- DEFAULT_THRESHOLD_SECS - Static variable in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
-
The default number of seconds after which an entry is considered
stale if it hasn't been accessed for that amount of time.
- destroy() - Method in interface org.eclipse.californium.elements.Connector
-
Stops the connector and cleans up any leftovers.
- destroy() - Method in class org.eclipse.californium.elements.UDPConnector
-
- DO_BREAK_LINES - Static variable in class org.eclipse.californium.elements.util.Base64
-
Do break lines when encoding.
- DONT_GUNZIP - Static variable in class org.eclipse.californium.elements.util.Base64
-
Specify that gzipped data should not be automatically gunzipped.
- DtlsEndpointContext - Class in org.eclipse.californium.elements
-
An endpoint context that explicitly supports DTLS specific properties.
- DtlsEndpointContext(InetSocketAddress, Principal, String, String, String, String) - Constructor for class org.eclipse.californium.elements.DtlsEndpointContext
-
Creates a context for DTLS session parameters.
- DtlsEndpointContext(InetSocketAddress, String, Principal, String, String, String, String) - Constructor for class org.eclipse.californium.elements.DtlsEndpointContext
-
Creates a context for DTLS session parameters.
- EMPTY - Static variable in class org.eclipse.californium.elements.util.Bytes
-
Empty byte array.
- ENCODE - Static variable in class org.eclipse.californium.elements.util.Base64
-
Specify encoding in first bit.
- encode(ByteBuffer, ByteBuffer) - Static method in class org.eclipse.californium.elements.util.Base64
-
Performs Base64 encoding on the raw ByteBuffer,
writing it to the encoded ByteBuffer.
- encode(ByteBuffer, CharBuffer) - Static method in class org.eclipse.californium.elements.util.Base64
-
Performs Base64 encoding on the raw ByteBuffer,
writing it to the encoded CharBuffer.
- encodeBytes(byte[]) - Static method in class org.eclipse.californium.elements.util.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int) - Static method in class org.eclipse.californium.elements.util.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int, int) - Static method in class org.eclipse.californium.elements.util.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int, int, int) - Static method in class org.eclipse.californium.elements.util.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytesToBytes(byte[]) - Static method in class org.eclipse.californium.elements.util.Base64
-
- encodeBytesToBytes(byte[], int, int, int) - Static method in class org.eclipse.californium.elements.util.Base64
-
- encodeFileToFile(String, String) - Static method in class org.eclipse.californium.elements.util.Base64
-
Reads infile and encodes it to outfile.
- encodeFromFile(String) - Static method in class org.eclipse.californium.elements.util.Base64
-
Convenience method for reading a binary file
and base64-encoding it.
- encodeObject(Serializable) - Static method in class org.eclipse.californium.elements.util.Base64
-
Serializes an object and returns the Base64-encoded
version of that serialized object.
- encodeObject(Serializable, int) - Static method in class org.eclipse.californium.elements.util.Base64
-
Serializes an object and returns the Base64-encoded
version of that serialized object.
- encodeToFile(byte[], String) - Static method in class org.eclipse.californium.elements.util.Base64
-
Convenience method for encoding data to a file.
- EndpointContext - Interface in org.eclipse.californium.elements
-
A container for storing transport specific information about the context in
which a message has been sent or received.
- EndpointContextMatcher - Interface in org.eclipse.californium.elements
-
Interface for endpoint context processing.
- EndpointContextUtil - Class in org.eclipse.californium.elements
-
EndpointContext utility.
- EndpointContextUtil() - Constructor for class org.eclipse.californium.elements.EndpointContextUtil
-
- EndpointMismatchException - Exception in org.eclipse.californium.elements
-
Exception indicating, that the endpoint context doesn't match for some
reason.
- EndpointMismatchException() - Constructor for exception org.eclipse.californium.elements.EndpointMismatchException
-
Create new instance.
- EndpointMismatchException(String) - Constructor for exception org.eclipse.californium.elements.EndpointMismatchException
-
Create new instance with message.
- EndpointUnconnectedException - Exception in org.eclipse.californium.elements
-
Exception indicating, that the destination endpoint is currently not
connected to the source server endpoint.
- EndpointUnconnectedException() - Constructor for exception org.eclipse.californium.elements.EndpointUnconnectedException
-
Create new instance.
- EndpointUnconnectedException(String) - Constructor for exception org.eclipse.californium.elements.EndpointUnconnectedException
-
Create new instance with message.
- entries() - Method in class org.eclipse.californium.elements.AddressEndpointContext
-
Gets a Set of a Map.Entry which contains the key-value pair of the
CorrelationContext.
- entries() - Method in interface org.eclipse.californium.elements.EndpointContext
-
Gets a Set of a Map.Entry which contains the key-value pair of the
CorrelationContext.
- entries() - Method in class org.eclipse.californium.elements.MapBasedEndpointContext
-
- equalKeyAlgorithmSynonyms(String, String) - Static method in class org.eclipse.californium.elements.util.Asn1DerDecoder
-
Check for equal key algorithm synonyms.
- equals(Object) - Method in class org.eclipse.californium.elements.auth.PreSharedKeyIdentity
-
Compares another object to this identity.
- equals(Object) - Method in class org.eclipse.californium.elements.auth.RawPublicKeyIdentity
-
Checks if this instance is equal to another object.
- equals(Object) - Method in class org.eclipse.californium.elements.auth.X509CertPath
-
- equals(Object) - Method in class org.eclipse.californium.elements.util.Bytes
-
- execute(Runnable) - Method in class org.eclipse.californium.elements.util.SerialExecutor
-
- ExecutorsUtil - Class in org.eclipse.californium.elements.util
-
Utility to create executors.
- ExecutorsUtil() - Constructor for class org.eclipse.californium.elements.util.ExecutorsUtil
-
- generateCertPath(boolean, List<X509Certificate>) - Static method in class org.eclipse.californium.elements.auth.X509CertPath
-
Create certificate path from x509 certificates chain.
- get(String) - Method in class org.eclipse.californium.elements.AddressEndpointContext
-
Gets a value from this context.
- get(String) - Method in interface org.eclipse.californium.elements.EndpointContext
-
Gets a value from this context.
- get(String) - Method in class org.eclipse.californium.elements.MapBasedEndpointContext
-
- get(K) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
-
Gets a value from the cache.
- getAddress() - Method in interface org.eclipse.californium.elements.Connector
-
Gets the address of the socket this connector is bound to.
- getAddress() - Method in class org.eclipse.californium.elements.RawData
-
Gets the address.
- getAddress() - Method in class org.eclipse.californium.elements.UDPConnector
-
- getAsString() - Method in class org.eclipse.californium.elements.util.Bytes
-
Get bytes as (hexadecimal) string.
- getBytes() - Method in class org.eclipse.californium.elements.RawData
-
Gets the raw message.
- getBytes() - Method in class org.eclipse.californium.elements.util.Bytes
-
Get bytes array.
- getCapacity() - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
-
Gets the maximum number of entries this cache can manage.
- getCertificateChain() - Method in class org.eclipse.californium.elements.util.SslContextUtil.Credentials
-
Get certificate trustedChain.
- getCipher() - Method in class org.eclipse.californium.elements.DtlsEndpointContext
-
Gets the name of the cipher suite in use for the DTLS session.
- getCipher() - Method in class org.eclipse.californium.elements.TlsEndpointContext
-
- getConnectionId() - Method in class org.eclipse.californium.elements.TcpEndpointContext
-
- getEndpointContext() - Method in class org.eclipse.californium.elements.RawData
-
Gets additional information regarding the context this message has been
received in or should be sent in.
- getEpoch() - Method in class org.eclipse.californium.elements.DtlsEndpointContext
-
Gets the current epoch of the DTLS session.
- getExpirationThreshold() - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
-
Gets the period of time after which an entry is considered stale
if it hasn't be accessed.
- getHandshakeTimestamp() - Method in class org.eclipse.californium.elements.DtlsEndpointContext
-
Gets the timestamp in milliseconds of the last handshake.
- getIdentity() - Method in class org.eclipse.californium.elements.auth.PreSharedKeyIdentity
-
Gets the identity.
- getInetSocketAddress() - Method in class org.eclipse.californium.elements.RawData
-
Gets the source/destination IP address and port.
- getKey() - Method in class org.eclipse.californium.elements.auth.RawPublicKeyIdentity
-
Gets the raw public key.
- getName() - Method in class org.eclipse.californium.elements.auth.PreSharedKeyIdentity
-
Gets the name of this principal.
- getName() - Method in class org.eclipse.californium.elements.auth.RawPublicKeyIdentity
-
Gets the Named Information URI representing this raw public key.
- getName() - Method in class org.eclipse.californium.elements.auth.X509CertPath
-
Gets the Subject DN of the asserted identity of this certificate path.
- getName() - Method in interface org.eclipse.californium.elements.EndpointContextMatcher
-
Return matcher name.
- getName() - Method in class org.eclipse.californium.elements.KeySetEndpointContextMatcher
-
- getName() - Method in class org.eclipse.californium.elements.PrincipalEndpointContextMatcher
-
- getPath() - Method in class org.eclipse.californium.elements.auth.X509CertPath
-
Gets this certificate path.
- getPeerAddress() - Method in class org.eclipse.californium.elements.AddressEndpointContext
-
- getPeerAddress() - Method in interface org.eclipse.californium.elements.EndpointContext
-
Gets the inet address of the peer that the message is for or from.
- getPeerAddressAsString() - Method in class org.eclipse.californium.elements.AddressEndpointContext
-
- getPeerIdentity() - Method in class org.eclipse.californium.elements.AddressEndpointContext
-
- getPeerIdentity() - Method in interface org.eclipse.californium.elements.EndpointContext
-
Gets the identity of the peer that the message is for or from.
- getPort() - Method in class org.eclipse.californium.elements.RawData
-
Gets the port.
- getPrivateKey() - Method in class org.eclipse.californium.elements.util.SslContextUtil.Credentials
-
Get private key.
- getProtocol() - Method in interface org.eclipse.californium.elements.Connector
-
Returns the protocol of the connector.
- getProtocol() - Method in class org.eclipse.californium.elements.UDPConnector
-
- getReceiveBufferSize() - Method in class org.eclipse.californium.elements.UDPConnector
-
- getReceiverPacketSize() - Method in class org.eclipse.californium.elements.UDPConnector
-
- getReceiverThreadCount() - Method in class org.eclipse.californium.elements.UDPConnector
-
- getScheduledExecutor() - Static method in class org.eclipse.californium.elements.util.ExecutorsUtil
-
Get general scheduled executor.
- getSendBufferSize() - Method in class org.eclipse.californium.elements.UDPConnector
-
- getSenderIdentity() - Method in class org.eclipse.californium.elements.RawData
-
Gets the identity of the sender of the message.
- getSenderThreadCount() - Method in class org.eclipse.californium.elements.UDPConnector
-
- getSessionId() - Method in class org.eclipse.californium.elements.DtlsEndpointContext
-
Gets the identifier of the DTLS session.
- getSessionId() - Method in class org.eclipse.californium.elements.TlsEndpointContext
-
- getSize() - Method in class org.eclipse.californium.elements.RawData
-
Gets the length of the serialized message
- getSubjectInfo() - Method in class org.eclipse.californium.elements.auth.RawPublicKeyIdentity
-
Gets the key's ASN.1 encoded SubjectPublicKeyInfo.
- getTarget() - Method in class org.eclipse.californium.elements.auth.X509CertPath
-
Gets the asserted identity of this certificate path.
- getVirtualHost() - Method in class org.eclipse.californium.elements.AddressEndpointContext
-
- getVirtualHost() - Method in class org.eclipse.californium.elements.auth.PreSharedKeyIdentity
-
Gets the virtual host name that the identity is scoped to.
- getVirtualHost() - Method in interface org.eclipse.californium.elements.EndpointContext
-
Gets the name of the virtual host that this endpoint
is scoped to.
- GZIP - Static variable in class org.eclipse.californium.elements.util.Base64
-
Specify that data should be gzip-compressed in second bit.
- onConnecting() - Method in interface org.eclipse.californium.elements.MessageCallback
-
Called, when connector requires to establish a connection.
- onConnecting() - Method in class org.eclipse.californium.elements.RawData
-
Callback, when connector requires to establish a connection.
- onContextEstablished(EndpointContext) - Method in interface org.eclipse.californium.elements.MessageCallback
-
Called when the context information for an outbound message has been
established.
- onContextEstablished(EndpointContext) - Method in class org.eclipse.californium.elements.RawData
-
Callback, when context gets available.
- onDtlsRetransmission(int) - Method in interface org.eclipse.californium.elements.MessageCallback
-
Called, when the dtls connector retransmits a handshake flight.
- onDtlsRetransmission(int) - Method in class org.eclipse.californium.elements.RawData
-
Callback, when the dtls connector retransmits a handshake flight.
- onError(Throwable) - Method in interface org.eclipse.californium.elements.MessageCallback
-
Called, when message was not sent by the connector.
- onError(Throwable) - Method in class org.eclipse.californium.elements.RawData
-
Called, when message was not sent by the connector.
- onEviction(V) - Method in interface org.eclipse.californium.elements.util.LeastRecentlyUsedCache.EvictionListener
-
Indicates that an entry has been evicted from the cache.
- onSent() - Method in interface org.eclipse.californium.elements.MessageCallback
-
Called after message was sent by the connector.
- onSent() - Method in class org.eclipse.californium.elements.RawData
-
Callback after message was sent by the connector.
- ORDERED - Static variable in class org.eclipse.californium.elements.util.Base64
-
- org.eclipse.californium.elements - package org.eclipse.californium.elements
-
- org.eclipse.californium.elements.auth - package org.eclipse.californium.elements.auth
-
- org.eclipse.californium.elements.util - package org.eclipse.californium.elements.util
-
- outbound(byte[], EndpointContext, MessageCallback, boolean) - Static method in class org.eclipse.californium.elements.RawData
-
Instantiates a new raw data for a message to be sent to a peer.
- RawData - Class in org.eclipse.californium.elements
-
A container object for the data received or sent via a
Connector.
- RawDataChannel - Interface in org.eclipse.californium.elements
-
A processor for messages received from the network layer.
- RawPublicKeyIdentity - Class in org.eclipse.californium.elements.auth
-
A principal representing an authenticated peer's RawPublicKey.
- RawPublicKeyIdentity(PublicKey) - Constructor for class org.eclipse.californium.elements.auth.RawPublicKeyIdentity
-
Creates a new instance for a given public key.
- RawPublicKeyIdentity(byte[]) - Constructor for class org.eclipse.californium.elements.auth.RawPublicKeyIdentity
-
Creates a new instance for a given ASN.1 subject public key info structure.
- RawPublicKeyIdentity(byte[], String) - Constructor for class org.eclipse.californium.elements.auth.RawPublicKeyIdentity
-
Creates a new instance for a given ASN.1 subject public key info structure.
- read() - Method in class org.eclipse.californium.elements.util.Base64.InputStream
-
Reads enough of the input stream to convert
to/from Base64 and returns the next byte.
- read(byte[], int, int) - Method in class org.eclipse.californium.elements.util.Base64.InputStream
-
- read(int) - Method in class org.eclipse.californium.elements.util.DatagramReader
-
Reads a sequence of bits from the stream.
- readBytes(int) - Method in class org.eclipse.californium.elements.util.DatagramReader
-
Reads a sequence of bytes from the stream.
- readBytesLeft() - Method in class org.eclipse.californium.elements.util.DatagramReader
-
Reads the complete sequence of bytes left in the stream.
- readLong(int) - Method in class org.eclipse.californium.elements.util.DatagramReader
-
Reads a sequence of bits from the stream.
- readNextByte() - Method in class org.eclipse.californium.elements.util.DatagramReader
-
Reads the next byte from the stream.
- readOidValue(DatagramReader) - Static method in class org.eclipse.californium.elements.util.Asn1DerDecoder
-
Read value of ASN.1 OID into byte array.
- readSequenceEntity(DatagramReader) - Static method in class org.eclipse.californium.elements.util.Asn1DerDecoder
-
Read entity of ASN.1 SEQUENCE into byte array.
- readSequenceValue(DatagramReader) - Static method in class org.eclipse.californium.elements.util.Asn1DerDecoder
-
Read value of ASN.1 SEQUENCE into byte array.
- readSubjectPublicKeyAlgorithm(byte[]) - Static method in class org.eclipse.californium.elements.util.Asn1DerDecoder
-
Read key algorithm from subjects public key.
- receiveData(RawData) - Method in interface org.eclipse.californium.elements.RawDataChannel
-
Processes a raw message received from the network.
- RelaxedDtlsEndpointContextMatcher - Class in org.eclipse.californium.elements
-
Relaxed endpoint context matcher.
- RelaxedDtlsEndpointContextMatcher() - Constructor for class org.eclipse.californium.elements.RelaxedDtlsEndpointContextMatcher
-
Creates a new matcher.
- remainingCapacity() - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
-
Gets the number of entries that can be added to this cache without the
need for removing stale entries.
- remove(K) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
-
Removes an entry from the cache.
- remove(K, V) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
-
Removes provided entry from the cache.
- reset() - Method in class org.eclipse.californium.elements.util.DatagramReader
-
Reset reader to last mark.
- resumeEncoding() - Method in class org.eclipse.californium.elements.util.Base64.OutputStream
-
Resumes encoding of the stream.
- running - Variable in class org.eclipse.californium.elements.UDPConnector
-
- SCANDIUM_THREAD_GROUP - Static variable in class org.eclipse.californium.elements.util.NamedThreadFactory
-
The default thread group for Scandium threads.
- send(RawData) - Method in interface org.eclipse.californium.elements.Connector
-
Sends a raw message to a client via the network.
- send(RawData) - Method in class org.eclipse.californium.elements.UDPConnector
-
- SerialExecutor - Class in org.eclipse.californium.elements.util
-
Serial executor.
- SerialExecutor(Executor) - Constructor for class org.eclipse.californium.elements.util.SerialExecutor
-
Create serial executor
- setCapacity(int) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
-
Sets the maximum number of entries this cache can manage.
- setEndpointContextMatcher(EndpointContextMatcher) - Method in interface org.eclipse.californium.elements.Connector
-
Set endpoint context matcher to be used for sending messages.
- setEndpointContextMatcher(EndpointContextMatcher) - Method in class org.eclipse.californium.elements.UDPConnector
-
- setEvictingOnReadAccess(boolean) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
-
Set evict mode on read access.
- setExpirationThreshold(long) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
-
Sets the period of time after which an entry is to be considered stale if
it hasn't be accessed.
- setExpirationThreshold(long, TimeUnit) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
-
Sets the period of time after which an entry is to be considered stale if
it hasn't be accessed.
- setRawDataReceiver(RawDataChannel) - Method in interface org.eclipse.californium.elements.Connector
-
Sets the handler for incoming messages.
- setRawDataReceiver(RawDataChannel) - Method in class org.eclipse.californium.elements.UDPConnector
-
- setRealtimeHandler(ClockUtil.Realtime) - Static method in class org.eclipse.californium.elements.util.ClockUtil
-
Set handler system specific expired realtime in nanoseconds.
- setReceiveBufferSize(int) - Method in class org.eclipse.californium.elements.UDPConnector
-
- setReceiverPacketSize(int) - Method in class org.eclipse.californium.elements.UDPConnector
-
- setReceiverThreadCount(int) - Method in class org.eclipse.californium.elements.UDPConnector
-
- setSendBufferSize(int) - Method in class org.eclipse.californium.elements.UDPConnector
-
- setSenderThreadCount(int) - Method in class org.eclipse.californium.elements.UDPConnector
-
- setUpdatingOnReadAccess(boolean) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
-
Set update last-access time mode on read access.
- shutdown() - Method in class org.eclipse.californium.elements.util.SerialExecutor
-
.
- shutdownNow() - Method in class org.eclipse.californium.elements.util.SerialExecutor
-
.
- shutdownNow(Collection<Runnable>) - Method in class org.eclipse.californium.elements.util.SerialExecutor
-
Shutdown this executor and add all pending task from
SerialExecutor.tasks to
the provided collection.
- size() - Method in class org.eclipse.californium.elements.util.DatagramWriter
-
- size() - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
-
Gets the cache's current number of entries.
- SslContextUtil - Class in org.eclipse.californium.elements.util
-
- SslContextUtil() - Constructor for class org.eclipse.californium.elements.util.SslContextUtil
-
- SslContextUtil.Credentials - Class in org.eclipse.californium.elements.util
-
Credentials.
- SslContextUtil.InputStreamFactory - Interface in org.eclipse.californium.elements.util
-
Scheme specific input stream factory.
- StandardCharsets - Interface in org.eclipse.californium.elements.util
-
Used standard character sets for californium.
- start() - Method in interface org.eclipse.californium.elements.Connector
-
Starts the connector.
- start() - Method in class org.eclipse.californium.elements.UDPConnector
-
- start() - Method in class org.eclipse.californium.elements.UdpMulticastConnector
-
- stop() - Method in interface org.eclipse.californium.elements.Connector
-
Stops the connector.
- stop() - Method in class org.eclipse.californium.elements.UDPConnector
-
- StrictDtlsEndpointContextMatcher - Class in org.eclipse.californium.elements
-
Strict endpoint context matcher.
- StrictDtlsEndpointContextMatcher() - Constructor for class org.eclipse.californium.elements.StrictDtlsEndpointContextMatcher
-
Creates a new matcher.
- StringUtil - Class in org.eclipse.californium.elements.util
-
String utils (as there are so many already out).
- StringUtil() - Constructor for class org.eclipse.californium.elements.util.StringUtil
-
- SUPPORT_HOST_STRING - Static variable in class org.eclipse.californium.elements.util.StringUtil
-
Flag indicating, that InetSocketAddress supports "getHostString".
- suspendEncoding() - Method in class org.eclipse.californium.elements.util.Base64.OutputStream
-
Suspends encoding of the stream.
- UDPConnector - Class in org.eclipse.californium.elements
-
A
Connector employing UDP as the transport protocol for exchanging
data between networked clients and a server application.
- UDPConnector() - Constructor for class org.eclipse.californium.elements.UDPConnector
-
Creates a connector on the wildcard address listening on an ephemeral
port, i.e.
- UDPConnector(InetSocketAddress) - Constructor for class org.eclipse.californium.elements.UDPConnector
-
Creates a connector bound to a given IP address and port.
- UdpEndpointContext - Class in org.eclipse.californium.elements
-
A endpoint context for plain UDP.
- UdpEndpointContext(InetSocketAddress) - Constructor for class org.eclipse.californium.elements.UdpEndpointContext
-
Creates a new context for a socket address.
- UdpEndpointContextMatcher - Class in org.eclipse.californium.elements
-
Endpoint context matcher for UDP.
- UdpEndpointContextMatcher() - Constructor for class org.eclipse.californium.elements.UdpEndpointContextMatcher
-
Create new instance of udp endpoint context matcher with enabled address
check.
- UdpEndpointContextMatcher(boolean) - Constructor for class org.eclipse.californium.elements.UdpEndpointContextMatcher
-
Create new instance of udp endpoint context matcher.
- UdpMulticastConnector - Class in org.eclipse.californium.elements
-
Connector which inherits functionality of
UDPConnector
replacing DatagramSocket with a MulticastSocket to receive multicast requests
in compliance to RFC7390 Group Communication for the Constrained Application
Protocol (CoAP) to the registered multicast group.
- UdpMulticastConnector(InetAddress, InetSocketAddress, InetAddress...) - Constructor for class org.eclipse.californium.elements.UdpMulticastConnector
-
Creates a connector bound to given multicast group and IP Port, using the specified network interface for
receiving multicast packets
Note: This constructor that allows you to specify a network interface was added to mitigate the issue described
at https://github.com/eclipse/californium/issues/872.
- UdpMulticastConnector(InetSocketAddress, InetAddress...) - Constructor for class org.eclipse.californium.elements.UdpMulticastConnector
-
Creates a connector bound to given multicast group and IP Port, using the default (any) network interface for
receiving multicast packets
Note: You might run into issues described at https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4701650 if you
do not specify a network interface.
- UNDEFINED - Static variable in class org.eclipse.californium.elements.UDPConnector
-
- update(K) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
-
Update the last-access time.
- URL_SAFE - Static variable in class org.eclipse.californium.elements.util.Base64
-
- US_ASCII - Static variable in interface org.eclipse.californium.elements.util.StandardCharsets
-
US ASCII character set.
- UTF_8 - Static variable in interface org.eclipse.californium.elements.util.StandardCharsets
-
UTF 8 character set.