Platform SDK Java 8.5 API Reference

com.genesyslab.platform.clusterprotocol
Class ProtocolBuilder<P extends ClientChannel,B extends ProtocolBuilder<P,B>>

java.lang.Object
  extended by com.genesyslab.platform.clusterprotocol.ProtocolBuilder<P,B>
Type Parameters:
P - type of protocol cluster node.
B - generic type extension parameter for this builder.
Direct Known Subclasses:
EspEmailProtocolBuilder, EspProtocolBuilder, FlexChatProtocolBuilder, UcsProtocolBuilder

public abstract class ProtocolBuilder<P extends ClientChannel,B extends ProtocolBuilder<P,B>>
extends java.lang.Object

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

refBuilder

protected ReferenceBuilder refBuilder
Constructor Detail

ProtocolBuilder

public ProtocolBuilder()
Method Detail

description

public abstract ProtocolDescription description()

create

protected abstract P create()

build

public P build()
Creates and returns new instance of cluster protocol node.

Returns:
new instance of cluster protocol node.

withRefBuilder

public B withRefBuilder(ReferenceBuilder refBuilder)
Initializes PSDK protocols reference builder for sharing between all of the cluster protocol nodes.

Parameters:
refBuilder - the protocols requests reference builder.
Returns:
self reference to this builder.

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.