Class BGPPeerAcceptorImpl
- java.lang.Object
-
- org.opendaylight.protocol.bgp.peer.acceptor.BGPPeerAcceptorImpl
-
- All Implemented Interfaces:
AutoCloseable
public final class BGPPeerAcceptorImpl extends Object implements AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description BGPPeerAcceptorImpl(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone bindingAddress, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber portNumber, BGPDispatcher bgpDispatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()This closes the acceptor and no new bgp connections will be accepted Connections already established will be preserved.voidstart()
-
-
-
Constructor Detail
-
BGPPeerAcceptorImpl
public BGPPeerAcceptorImpl(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone bindingAddress, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber portNumber, BGPDispatcher bgpDispatcher)
-
-
Method Detail
-
start
public void start()
-
close
public void close() throws ExceptionThis closes the acceptor and no new bgp connections will be accepted Connections already established will be preserved.- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
-