Package | Description |
---|---|
org.ice4j | |
org.ice4j.stack |
Modifier and Type | Field and Description |
---|---|
private RawMessage |
StunMessageEvent.rawMessage
The message as we got it off the wire.
|
private RawMessage |
PeerUdpMessageEvent.udpMessage
The Peer UDP Message associated with this event.
|
Modifier and Type | Method and Description |
---|---|
RawMessage |
StunMessageEvent.getRawMessage()
Returns the raw message that caused this event.
|
Constructor and Description |
---|
PeerUdpMessageEvent(StunStack stunStack,
RawMessage udpMessage)
Initializes a new PeerUdpMessageEvent associated with a
specific PeerUdp Message.
|
StunMessageEvent(StunStack stunStack,
RawMessage rawMessage,
Message parsedMessage)
Constructs a StunMessageEvent according to the specified message.
|
StunResponseEvent(StunStack stunStack,
RawMessage rawMessage,
Response response,
Request request,
TransactionID transactionID)
Creates a new instance of this event.
|
Modifier and Type | Field and Description |
---|---|
private RawMessage |
MessageProcessingTask.rawMessage
Raw message which is being processed
|
Modifier and Type | Field and Description |
---|---|
private Consumer<RawMessage> |
Connector.messageConsumer
The consumer of incoming RawMessages
|
Modifier and Type | Method and Description |
---|---|
static RawMessage |
RawMessage.build(byte[] messageBytes,
int messageLength,
TransportAddress remoteAddress,
TransportAddress localAddress)
Use builder pattern to allow creation of immutable RawMessage instances,
from outside the current package.
|
Modifier and Type | Method and Description |
---|---|
private void |
NetAccessManager.onIncomingRawMessage(RawMessage message)
Enqueues incoming
RawMessage for asynchronous
processing by NetAccessManager.messageProcessingExecutor |
void |
StunStack.sendUdpMessage(RawMessage udpMessage,
TransportAddress sendTo,
TransportAddress sendThrough)
Sends a specific STUN Indication to a specific destination
TransportAddress through a socket registered with this
StunStack using a specific TransportAddress.
|
(package private) void |
MessageProcessingTask.setMessage(RawMessage message,
Consumer<MessageProcessingTask> onProcessed)
Assigns the RawMessage that will be processed
by this MessageProcessingTask on executor's thread.
|
boolean |
StunStack.validateMessageIntegrity(MessageIntegrityAttribute msgInt,
String username,
boolean shortTermCredentialMechanism,
RawMessage message)
Recalculates the HMAC-SHA1 signature of the message array so
that we could compare it with the value brought by the
MessageIntegrityAttribute . |
Constructor and Description |
---|
Connector(IceSocketWrapper socket,
TransportAddress remoteAddress,
Consumer<RawMessage> messageConsumer,
ErrorHandler errorHandler)
Creates a network access point.
|
Copyright © 2018. All rights reserved.