Interface BgpUpdater.AsyncIface
-
- All Known Implementing Classes:
BgpUpdater.AsyncClient
- Enclosing class:
- BgpUpdater
public static interface BgpUpdater.AsyncIface
-
-
Method Summary
All Methods Instance Methods Abstract 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
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
- Throws:
org.apache.thrift.TException
-
onUpdateWithdrawRoute
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
- Throws:
org.apache.thrift.TException
-
onStartConfigResyncNotification
void onStartConfigResyncNotification(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
onNotificationSendEvent
void onNotificationSendEvent(java.lang.String prefix, byte errCode, byte errSubcode, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
peerDown
void peerDown(java.lang.String ipAddress, long asNumber, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
peerUp
void peerUp(java.lang.String ipAddress, long asNumber, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-