public NetLabPluginController(IHandlerDefinition hdBaseDefinition, INetLabEnvironment iEnvironment) : base(hdBaseDefinition, iEnvironment, null) { }
/// <summary> /// When overriden by a derived class, must create the traffic handler UI for the given environment. This UI will be shown on the workbench. /// </summary> /// <param name="env">The environment to create the traffic handler UI for</param> /// <param name="param">A parameter associated with the component to create</param> /// <returns>The traffic handler UI for the traffic handler defined by this controller</returns> protected override eExNetLab.TrafficHandlerUIs.TrafficHandlerUI CreateTrafficHandlerUI(INetLabEnvironment env, object param) { // Implementing this is optional - the plug-in engine is capable of creating a default UI // based on the port information provided by the NLML plug-in return(base.CreateTrafficHandlerUI(env, param)); }
/// <summary> /// When overriden by a derived class, must create the port information which is used by the NetLab /// </summary> /// <param name="env">The environment to create the ports for</param> /// <param name="param">A parameter associated with the component to create</param> /// <returns>An array of traffic handler ports associated with this controller.</returns> protected override NetLabTrafficHandlerPort[] CreatePortInformations(INetLabEnvironment env, object param) { // Implementing this is optional - the plug-in engine is capable of creating // default ports based on the port information provided by the NLML plug-in return(base.CreatePortInformations(env, param)); }