public abstract class AbstractPCEPSessionNegotiatorFactory extends Object implements org.opendaylight.protocol.pcep.PCEPSessionNegotiatorFactory<PCEPSessionImpl>
| Constructor and Description |
|---|
AbstractPCEPSessionNegotiatorFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract AbstractPCEPSessionNegotiator |
createNegotiator(io.netty.util.concurrent.Promise<PCEPSessionImpl> promise,
org.opendaylight.protocol.pcep.PCEPSessionListener listener,
io.netty.channel.Channel channel,
short sessionId,
org.opendaylight.protocol.pcep.PCEPPeerProposal peerProposal)
Create a new negotiator.
|
org.opendaylight.protocol.pcep.SessionNegotiator |
getSessionNegotiator(org.opendaylight.protocol.pcep.PCEPSessionListenerFactory factory,
io.netty.channel.Channel channel,
io.netty.util.concurrent.Promise<PCEPSessionImpl> promise,
org.opendaylight.protocol.pcep.PCEPPeerProposal peerProposal) |
org.opendaylight.protocol.pcep.impl.PCEPPeerRegistry |
getSessionRegistry() |
public AbstractPCEPSessionNegotiatorFactory()
protected abstract AbstractPCEPSessionNegotiator createNegotiator(io.netty.util.concurrent.Promise<PCEPSessionImpl> promise, org.opendaylight.protocol.pcep.PCEPSessionListener listener, io.netty.channel.Channel channel, short sessionId, org.opendaylight.protocol.pcep.PCEPPeerProposal peerProposal)
promise - Session promise to be completed by the negotiatorlistener - PCEPSessionListenerchannel - Associated channelsessionId - Session ID assigned to the resulting sessionpublic final org.opendaylight.protocol.pcep.SessionNegotiator getSessionNegotiator(org.opendaylight.protocol.pcep.PCEPSessionListenerFactory factory,
io.netty.channel.Channel channel,
io.netty.util.concurrent.Promise<PCEPSessionImpl> promise,
org.opendaylight.protocol.pcep.PCEPPeerProposal peerProposal)
getSessionNegotiator in interface org.opendaylight.protocol.pcep.PCEPSessionNegotiatorFactory<PCEPSessionImpl>public org.opendaylight.protocol.pcep.impl.PCEPPeerRegistry getSessionRegistry()
Copyright © 2018 OpenDaylight. All rights reserved.