Class Protocol
java.lang.Object
google.registry.monitoring.blackbox.connection.Protocol
AutoValue
class that stores all unchanged variables necessary for type of connection.-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Protocol.Builder
builder()
abstract com.google.common.collect.ImmutableList
<javax.inject.Provider<? extends io.netty.channel.ChannelHandler>> TheChannelHandler
providers to use for the protocol, in order.abstract String
name()
abstract boolean
Boolean that notes if connection associated with Protocol is persistent.abstract int
port()
final String
toString()
-
Field Details
-
PROTOCOL_KEY
AttributeKey
that lets channel referenceProtocol
that created it.
-
-
Constructor Details
-
Protocol
public Protocol()
-
-
Method Details
-
builder
-
name
-
port
public abstract int port() -
handlerProviders
public abstract com.google.common.collect.ImmutableList<javax.inject.Provider<? extends io.netty.channel.ChannelHandler>> handlerProviders()TheChannelHandler
providers to use for the protocol, in order. -
persistentConnection
public abstract boolean persistentConnection()Boolean that notes if connection associated with Protocol is persistent. -
toString
-