C# Class Snarf.Nfs.BaseHandler

Inheritance: Snarf.Udp.UdpHandler
Exibir arquivo Open project: shellscape/Snarf Class Usage Examples

Public Methods

Method Description
BaseHandler ( int port, int programId ) : System

Protected Methods

Method Description
Call ( NfsPacket &packet, uint xId ) : void
OnPacketReceived ( byte bytes, IPEndPoint receivedFrom ) : void
Process ( NfsPacket packet, IPEndPoint receivedFrom ) : void
Reply ( NfsPacket &packet, uint xId ) : void
SendNull ( NfsPacket sourcePacket, IPEndPoint receivedFrom ) : void

Method Details

BaseHandler() public method

public BaseHandler ( int port, int programId ) : System
port int
programId int
return System

Call() protected method

protected Call ( NfsPacket &packet, uint xId ) : void
packet NfsPacket
xId uint
return void

OnPacketReceived() protected method

protected OnPacketReceived ( byte bytes, IPEndPoint receivedFrom ) : void
bytes byte
receivedFrom System.Net.IPEndPoint
return void

Process() protected method

protected Process ( NfsPacket packet, IPEndPoint receivedFrom ) : void
packet NfsPacket
receivedFrom System.Net.IPEndPoint
return void

Reply() protected method

protected Reply ( NfsPacket &packet, uint xId ) : void
packet NfsPacket
xId uint
return void

SendNull() protected method

protected SendNull ( NfsPacket sourcePacket, IPEndPoint receivedFrom ) : void
sourcePacket NfsPacket
receivedFrom System.Net.IPEndPoint
return void