public class SingleMasterChannelEndpointConfiguration extends Object implements Serializable
An object that contains the endpoint configuration for the
SINGLE_MASTER channel type.
| Constructor and Description |
|---|
SingleMasterChannelEndpointConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getProtocols()
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling channel. |
String |
getRole()
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. |
int |
hashCode() |
void |
setProtocols(Collection<String> protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling channel. |
void |
setRole(ChannelRole role)
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. |
void |
setRole(String role)
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SingleMasterChannelEndpointConfiguration |
withProtocols(Collection<String> protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling channel. |
SingleMasterChannelEndpointConfiguration |
withProtocols(String... protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling channel. |
SingleMasterChannelEndpointConfiguration |
withRole(ChannelRole role)
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. |
SingleMasterChannelEndpointConfiguration |
withRole(String role)
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. |
public SingleMasterChannelEndpointConfiguration()
public List<String> getProtocols()
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling channel. If WSS is
specified, this API returns a websocket endpoint. If HTTPS
is specified, this API returns an HTTPS endpoint.
This property is used to determine the nature of communication
over this SINGLE_MASTER signaling channel. If
WSS is specified, this API returns a websocket
endpoint. If HTTPS is specified, this API returns an
HTTPS endpoint.
public void setProtocols(Collection<String> protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling channel. If WSS is
specified, this API returns a websocket endpoint. If HTTPS
is specified, this API returns an HTTPS endpoint.
protocols -
This property is used to determine the nature of communication
over this SINGLE_MASTER signaling channel. If
WSS is specified, this API returns a websocket
endpoint. If HTTPS is specified, this API returns
an HTTPS endpoint.
public SingleMasterChannelEndpointConfiguration withProtocols(String... protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling channel. If WSS is
specified, this API returns a websocket endpoint. If HTTPS
is specified, this API returns an HTTPS endpoint.
Returns a reference to this object so that method calls can be chained together.
protocols -
This property is used to determine the nature of communication
over this SINGLE_MASTER signaling channel. If
WSS is specified, this API returns a websocket
endpoint. If HTTPS is specified, this API returns
an HTTPS endpoint.
public SingleMasterChannelEndpointConfiguration withProtocols(Collection<String> protocols)
This property is used to determine the nature of communication over this
SINGLE_MASTER signaling channel. If WSS is
specified, this API returns a websocket endpoint. If HTTPS
is specified, this API returns an HTTPS endpoint.
Returns a reference to this object so that method calls can be chained together.
protocols -
This property is used to determine the nature of communication
over this SINGLE_MASTER signaling channel. If
WSS is specified, this API returns a websocket
endpoint. If HTTPS is specified, this API returns
an HTTPS endpoint.
public String getRole()
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. If MASTER is
specified, this API returns an endpoint that a client can use to receive
offers from and send answers to any of the viewers on this signaling
channel. If VIEWER is specified, this API returns an
endpoint that a client can use only to send offers to another
MASTER client on this signaling channel.
Constraints:
Allowed Values: MASTER, VIEWER
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. If
MASTER is specified, this API returns an endpoint
that a client can use to receive offers from and send answers to
any of the viewers on this signaling channel. If
VIEWER is specified, this API returns an endpoint
that a client can use only to send offers to another
MASTER client on this signaling channel.
ChannelRolepublic void setRole(String role)
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. If MASTER is
specified, this API returns an endpoint that a client can use to receive
offers from and send answers to any of the viewers on this signaling
channel. If VIEWER is specified, this API returns an
endpoint that a client can use only to send offers to another
MASTER client on this signaling channel.
Constraints:
Allowed Values: MASTER, VIEWER
role -
This property is used to determine messaging permissions in
this SINGLE_MASTER signaling channel. If
MASTER is specified, this API returns an endpoint
that a client can use to receive offers from and send answers
to any of the viewers on this signaling channel. If
VIEWER is specified, this API returns an endpoint
that a client can use only to send offers to another
MASTER client on this signaling channel.
ChannelRolepublic SingleMasterChannelEndpointConfiguration withRole(String role)
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. If MASTER is
specified, this API returns an endpoint that a client can use to receive
offers from and send answers to any of the viewers on this signaling
channel. If VIEWER is specified, this API returns an
endpoint that a client can use only to send offers to another
MASTER client on this signaling channel.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: MASTER, VIEWER
role -
This property is used to determine messaging permissions in
this SINGLE_MASTER signaling channel. If
MASTER is specified, this API returns an endpoint
that a client can use to receive offers from and send answers
to any of the viewers on this signaling channel. If
VIEWER is specified, this API returns an endpoint
that a client can use only to send offers to another
MASTER client on this signaling channel.
ChannelRolepublic void setRole(ChannelRole role)
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. If MASTER is
specified, this API returns an endpoint that a client can use to receive
offers from and send answers to any of the viewers on this signaling
channel. If VIEWER is specified, this API returns an
endpoint that a client can use only to send offers to another
MASTER client on this signaling channel.
Constraints:
Allowed Values: MASTER, VIEWER
role -
This property is used to determine messaging permissions in
this SINGLE_MASTER signaling channel. If
MASTER is specified, this API returns an endpoint
that a client can use to receive offers from and send answers
to any of the viewers on this signaling channel. If
VIEWER is specified, this API returns an endpoint
that a client can use only to send offers to another
MASTER client on this signaling channel.
ChannelRolepublic SingleMasterChannelEndpointConfiguration withRole(ChannelRole role)
This property is used to determine messaging permissions in this
SINGLE_MASTER signaling channel. If MASTER is
specified, this API returns an endpoint that a client can use to receive
offers from and send answers to any of the viewers on this signaling
channel. If VIEWER is specified, this API returns an
endpoint that a client can use only to send offers to another
MASTER client on this signaling channel.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: MASTER, VIEWER
role -
This property is used to determine messaging permissions in
this SINGLE_MASTER signaling channel. If
MASTER is specified, this API returns an endpoint
that a client can use to receive offers from and send answers
to any of the viewers on this signaling channel. If
VIEWER is specified, this API returns an endpoint
that a client can use only to send offers to another
MASTER client on this signaling channel.
ChannelRolepublic String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.