C# Class Network_Manager.Jobs.Extensions.LoadBalancer.TapWorker

Show file Open project: SortByte/Network-Manager

Public Properties

Property Type Description
Guid System.Guid
Initialized System.Threading.ManualResetEventSlim
Name string
ThreadActive System.Threading.ManualResetEventSlim
communicator PacketCommunicator
fragBuffer FragmentationBuffer
fragments IList
ifHardwareAddress System.Net.MacAddress
ifHardwareAddressByte byte[]
ifHardwareAddressString string
ifProtocolAddress PcapDotNet.Packets.IpV4.IpV4Address
ifProtocolAddressByte byte[]
ifProtocolAddressString string
ownHardwareAddress System.Net.MacAddress
ownHardwareAddressByte byte[]
ownHardwareAddressString string
ownProtocolAddress IpV4Address
ownProtocolAddressByte byte[]
ownProtocolAddressString string
tapRoutingObject RoutingObject

Private Properties

Property Type Description

Public Methods

Method Description
IpV4Handler ( Packet packet, IList packetList = null ) : void
ReceivePackets ( ) : void
SendAck ( System.Guid guid ) : void
SendData ( System.Guid guid, int payloadLength ) : void
SendFinAck ( System.Guid guid ) : void
SendKeepAlive ( System.Guid guid ) : void
SendPacket ( Packet packet ) : void
SendRst ( System.Guid guid ) : void
SendSynAck ( System.Guid guid ) : void
Stop ( ) : void
TapWorker ( System.Guid guid, string name, string mac, string ip, string gateway ) : System

Method Details

IpV4Handler() public method

public IpV4Handler ( Packet packet, IList packetList = null ) : void
packet Packet
packetList IList
return void

ReceivePackets() public method

public ReceivePackets ( ) : void
return void

SendAck() public method

public SendAck ( System.Guid guid ) : void
guid System.Guid
return void

SendData() public method

public SendData ( System.Guid guid, int payloadLength ) : void
guid System.Guid
payloadLength int
return void

SendFinAck() public method

public SendFinAck ( System.Guid guid ) : void
guid System.Guid
return void

SendKeepAlive() public method

public SendKeepAlive ( System.Guid guid ) : void
guid System.Guid
return void

SendPacket() public method

public SendPacket ( Packet packet ) : void
packet Packet
return void

SendRst() public method

public SendRst ( System.Guid guid ) : void
guid System.Guid
return void

SendSynAck() public method

public SendSynAck ( System.Guid guid ) : void
guid System.Guid
return void

Stop() public method

public Stop ( ) : void
return void

TapWorker() public method

public TapWorker ( System.Guid guid, string name, string mac, string ip, string gateway ) : System
guid System.Guid
name string
mac string
ip string
gateway string
return System

Property Details

Guid public property

public Guid,System Guid
return System.Guid

Initialized public property

public ManualResetEventSlim,System.Threading Initialized
return System.Threading.ManualResetEventSlim

Name public property

public string Name
return string

ThreadActive public property

public ManualResetEventSlim,System.Threading ThreadActive
return System.Threading.ManualResetEventSlim

communicator public property

public PacketCommunicator communicator
return PacketCommunicator

fragBuffer public property

public FragmentationBuffer,Network_Manager.Jobs.Extensions fragBuffer
return FragmentationBuffer

fragments public property

public IList fragments
return IList

ifHardwareAddress public property

public MacAddress,System.Net ifHardwareAddress
return System.Net.MacAddress

ifHardwareAddressByte public property

public byte[] ifHardwareAddressByte
return byte[]

ifHardwareAddressString public property

public string ifHardwareAddressString
return string

ifProtocolAddress public property

public IpV4Address,PcapDotNet.Packets.IpV4 ifProtocolAddress
return PcapDotNet.Packets.IpV4.IpV4Address

ifProtocolAddressByte public property

public byte[] ifProtocolAddressByte
return byte[]

ifProtocolAddressString public property

public string ifProtocolAddressString
return string

ownHardwareAddress public property

public MacAddress,System.Net ownHardwareAddress
return System.Net.MacAddress

ownHardwareAddressByte public property

public byte[] ownHardwareAddressByte
return byte[]

ownHardwareAddressString public static property

public static string ownHardwareAddressString
return string

ownProtocolAddress public property

public IpV4Address ownProtocolAddress
return IpV4Address

ownProtocolAddressByte public property

public byte[] ownProtocolAddressByte
return byte[]

ownProtocolAddressString public static property

public static string ownProtocolAddressString
return string

tapRoutingObject public property

public RoutingObject tapRoutingObject
return RoutingObject