Class BgpUpdater.AsyncClient
- java.lang.Object
-
- org.apache.thrift.async.TAsyncClient
-
- org.opendaylight.netvirt.bgpmanager.thrift.gen.BgpUpdater.AsyncClient
-
- All Implemented Interfaces:
BgpUpdater.AsyncIface
- Enclosing class:
- BgpUpdater
public static class BgpUpdater.AsyncClient extends org.apache.thrift.async.TAsyncClient implements BgpUpdater.AsyncIface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BgpUpdater.AsyncClient.Factory
static class
BgpUpdater.AsyncClient.onNotificationSendEvent_call
static class
BgpUpdater.AsyncClient.onStartConfigResyncNotification_call
static class
BgpUpdater.AsyncClient.onUpdatePushRoute_call
static class
BgpUpdater.AsyncClient.onUpdateWithdrawRoute_call
static class
BgpUpdater.AsyncClient.peerDown_call
static class
BgpUpdater.AsyncClient.peerUp_call
-
Constructor Summary
Constructors Constructor Description AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onNotificationSendEvent(java.lang.String prefix, byte errCode, byte errSubcode, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
onStartConfigResyncNotification(org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
onUpdatePushRoute(protocol_type p_type, java.lang.String rd, java.lang.String prefix, int prefixlen, java.lang.String nexthop, long ethtag, java.lang.String esi, java.lang.String macaddress, int l3label, int l2label, java.lang.String routermac, af_afi afi, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
onUpdateWithdrawRoute(protocol_type p_type, java.lang.String rd, java.lang.String prefix, int prefixlen, java.lang.String nexthop, long ethtag, java.lang.String esi, java.lang.String macaddress, int l3label, int l2label, af_afi afi, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
peerDown(java.lang.String ipAddress, long asNumber, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
peerUp(java.lang.String ipAddress, long asNumber, org.apache.thrift.async.AsyncMethodCallback resultHandler)
-
-
-
Method Detail
-
onUpdatePushRoute
public void onUpdatePushRoute(protocol_type p_type, java.lang.String rd, java.lang.String prefix, int prefixlen, java.lang.String nexthop, long ethtag, java.lang.String esi, java.lang.String macaddress, int l3label, int l2label, java.lang.String routermac, af_afi afi, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
onUpdatePushRoute
in interfaceBgpUpdater.AsyncIface
- Throws:
org.apache.thrift.TException
-
onUpdateWithdrawRoute
public void onUpdateWithdrawRoute(protocol_type p_type, java.lang.String rd, java.lang.String prefix, int prefixlen, java.lang.String nexthop, long ethtag, java.lang.String esi, java.lang.String macaddress, int l3label, int l2label, af_afi afi, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
onUpdateWithdrawRoute
in interfaceBgpUpdater.AsyncIface
- Throws:
org.apache.thrift.TException
-
onStartConfigResyncNotification
public void onStartConfigResyncNotification(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
onStartConfigResyncNotification
in interfaceBgpUpdater.AsyncIface
- Throws:
org.apache.thrift.TException
-
onNotificationSendEvent
public void onNotificationSendEvent(java.lang.String prefix, byte errCode, byte errSubcode, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
onNotificationSendEvent
in interfaceBgpUpdater.AsyncIface
- Throws:
org.apache.thrift.TException
-
peerDown
public void peerDown(java.lang.String ipAddress, long asNumber, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
peerDown
in interfaceBgpUpdater.AsyncIface
- Throws:
org.apache.thrift.TException
-
peerUp
public void peerUp(java.lang.String ipAddress, long asNumber, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
peerUp
in interfaceBgpUpdater.AsyncIface
- Throws:
org.apache.thrift.TException
-
-