|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.clusterprotocol.ProtocolBuilder<P,B>
P
- type of protocol cluster node.B
- generic type extension parameter for this builder.public abstract class ProtocolBuilder<P extends ClientChannel,B extends ProtocolBuilder<P,B>>
Abstract builder base for cluster protocol nodes.
Field Summary | |
---|---|
protected ReferenceBuilder |
refBuilder
|
Constructor Summary | |
---|---|
ProtocolBuilder()
|
Method Summary | |
---|---|
P |
build()
Creates and returns new instance of cluster protocol node. |
protected abstract P |
create()
|
abstract ProtocolDescription |
description()
|
B |
withRefBuilder(ReferenceBuilder refBuilder)
Initializes PSDK protocols reference builder for sharing between all of the cluster protocol nodes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ReferenceBuilder refBuilder
Constructor Detail |
---|
public ProtocolBuilder()
Method Detail |
---|
public abstract ProtocolDescription description()
protected abstract P create()
public P build()
public B withRefBuilder(ReferenceBuilder refBuilder)
refBuilder
- the protocols requests reference builder.
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |