public static final class MultiPrimaryProtocol.Type extends Object implements PrimitiveProtocol.Type<MultiPrimaryProtocolConfig>
| Constructor and Description |
|---|
Type() |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Returns the object name.
|
MultiPrimaryProtocolConfig |
newConfig()
Returns a new configuration.
|
PrimitiveProtocol |
newProtocol(MultiPrimaryProtocolConfig config)
Creates a new protocol instance.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompareTopublic MultiPrimaryProtocolConfig newConfig()
ConfiguredTypenewConfig in interface ConfiguredType<MultiPrimaryProtocolConfig>public PrimitiveProtocol newProtocol(MultiPrimaryProtocolConfig config)
PrimitiveProtocol.TypenewProtocol in interface PrimitiveProtocol.Type<MultiPrimaryProtocolConfig>config - the protocol configurationCopyright © 2013–2018. All rights reserved.