This class creates unsecure multicast
Type.DATAGRAM
connection configurations.
The security desire is
SecurityDesire.NOT_SECURE
.
These configurations are immutable once built, and so
the builder allows them to be created (and modified) up until they are built.
Inheritance Hierarchy
org.opendof.core.oalDOFConnectionConfigBuilderUnsecureDOFConnectionConfigBuilderUnsecureMulticast
org.opendof.core.oalDOFConnectionConfigBuilderUnsecureMulticast
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public sealed class BuilderUnsecureMulticast : DOFConnectionConfigBuilderUnsecure<DOFConnectionConfigBuilderUnsecureMulticast>
The DOFConnectionConfigBuilderUnsecureMulticast type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | DOFConnectionConfigBuilderUnsecureMulticast | Construct a new builder based on a multicast address. |
Methods
Name | Description | |
---|---|---|
![]() | build | Return a configuration based on the current settings of the builder. (Inherited from DOFConnectionConfigBuilderUnsecureT.) |
![]() | createConnection |
This is a convenience method for creating the connection with the implied
Config
.
This is the connection only. This connection will not detect operations sourced from other nodes.
(Overrides DOFConnectionConfigBuilderUnsecureTcreateConnection(DOF).) |
![]() | createPeerConnection(DOF) |
This is a convenience method for creating the connection with the implied
Config
.
The connection is related to relevant servers for the purpose of a peer-to-peer network.
This type of connection can source requests and receive requests.
The unicastAddress and multicastAddress must have been set explicitly with
setUnicastAddress(DOFAddress)
and
setMulticastAddress(DOFAddress)
.
This method signature is only useful if you plan on calling it much later than the constructor and don't want to pass around the ucastAddress and mcastAddress
parameters you will need to call
createPeerConnection(DOF, DOFAddress, DOFAddress)
. If that is not your use case, then just call
createPeerConnection(DOF, DOFAddress, DOFAddress) or the 2 setters.
|
![]() | createPeerConnection(DOF, DOFAddress, DOFAddress) |
This is a convenience method for creating the connection with the implied
Config
.
The connection is related to relevant servers for the purpose of a peer-to-peer network.
This type of connection can source requests and receive requests.
|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | setAddress | Set the target address of the connection. (Inherited from DOFConnectionConfigBuilderUnsecureT.) |
![]() | setAuditorListener | Set this connection's audit listener. (Inherited from DOFConnectionConfigBuilderUnsecureT.) |
![]() | setBridge | Set the bridge of the connection. (Inherited from DOFConnectionConfigBuilderUnsecureT.) |
![]() | setMaxReceiveSilence | Set the maximum receive silence. (Inherited from DOFConnectionConfigBuilderUnsecureT.) |
![]() | setMaxSendSilence | Set the maximum send silence time. (Inherited from DOFConnectionConfigBuilderUnsecureT.) |
![]() | setMulticastAddress |
Set the multicastAddress to be used by
createPeerConnection(DOF)
. This is a convenience so that you don't have to keep the address
around until createConnection is called. The default is null, so if this method is not called, createPeerConnection(DOF) will throw
IllegalArgumentException.
This method is only useful if you plan on calling createConnection much later and don't want to pass around the ucastAddress and mcastAddress
parameters you will need to call createConnection. If that is not your use case, then just call
createPeerConnection(DOF, DOFAddress, DOFAddress)
.
|
![]() | setName | Set this connection's name to be used in logging. (Inherited from DOFConnectionConfigBuilderUnsecureT.) |
![]() | setProtocolNegotiator | Set the protocol negotiator to use on the connection. |
![]() | setReceiveFilter | Set the receive filter of the connection. (Inherited from DOFConnectionConfigBuilderUnsecureT.) |
![]() | setSendFilter | Set the send filter of the connection. (Inherited from DOFConnectionConfigBuilderUnsecureT.) |
![]() | setStreamRequestListener | Set this connection's stream-request listener. (Inherited from DOFConnectionConfigBuilderUnsecureT.) |
![]() | setTransportConfig | Set the transport configuration associated with the connection. (Inherited from DOFConnectionConfigBuilderUnsecureT.) |
![]() | setUnicastAddress |
Set the unicastAddress to be used by
createPeerConnection(DOF)
. This is a convenience so that you don't have to keep the address
around until createConnection is called. The default is null, so if this method is not called, createPeerConnection(DOF) will throw
IllegalArgumentException.
This method is only useful if you plan on calling createConnection much later and don't want to pass around the ucastAddress and mcastAddress
parameters you will need to call createConnection. If that is not your use case, then just call
createPeerConnection(DOF, DOFAddress, DOFAddress)
.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also