Home Help Center

writing a Bandwidth Shaping plugin

emasabemasab Member Emanuele SabellicoOrganization: Università Roma TreProject: BGP2P: p2p exchange of historical routing info
I'm developing a p2p architecture for the exchange of bgp historical routing informations and I need to limit incoming and outgoing bandwidth at application level. So I'm going to write a plugin for ICE, this plugin has to be a wrapper for the the underlying ssl socket,

1) what is the simplest method to archieve this?
I saw the method _facade->addEndpointFactory(newEndpointFactoryI(this));
inside the ssl plugin, but what is the exact behaviour of the ProtocolPluginFacade when it has more than one endpoint factory?

2) Can I write plugins only in C++ or there is a way to make a plugin in python?



  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff

    You can register multiple endpoint factories as long as the EndpointFactory::type() method returns a different value for each factory.

    You'll have to write your plugin in C++ if you want to use it with Ice for Python, it's not possible to write it directly in python.

Sign In or Register to comment.