Class NOPNetGate
Represents an implementation of INetGate that allows all traffic
Inheritance
System.Object
NOPNetGate
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Azos.dll
Syntax
public class NOPNetGate : ApplicationComponent, IDisposable, INetGate, IApplicationComponent
Constructors
NOPNetGate(IApplication)
Declaration
protected NOPNetGate(IApplication app)
Parameters
Properties
ComponentLogTopic
Declaration
public override string ComponentLogTopic { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Enabled
Declaration
public bool Enabled { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
CheckTraffic(ITraffic)
Declaration
public GateAction CheckTraffic(ITraffic traffic)
Parameters
Returns
CheckTraffic(ITraffic, out Rule)
Declaration
public GateAction CheckTraffic(ITraffic traffic, out Rule rule)
Parameters
Returns
IncreaseVariable(TrafficDirection, String, String, Int32)
Declaration
public void IncreaseVariable(TrafficDirection direction, string address, string varName, int value)
Parameters
Type |
Name |
Description |
TrafficDirection |
direction |
|
System.String |
address |
|
System.String |
varName |
|
System.Int32 |
value |
|
SetVariable(TrafficDirection, String, String, Int32)
Declaration
public void SetVariable(TrafficDirection direction, string address, string varName, int value)
Parameters
Type |
Name |
Description |
TrafficDirection |
direction |
|
System.String |
address |
|
System.String |
varName |
|
System.Int32 |
value |
|
Implements
System.IDisposable
Extension Methods