NetSim 1.0.0
An educational network simulation software for students
Loading...
Searching...
No Matches
Classes | Enumerations
NetSim Namespace Reference

Classes

class  CableNotFoundException
 The CableNotFoundException class. More...
 
class  Client
 Represents a client in the network simulation. More...
 
class  DNS
 Provides utility methods to initialize DNS request and response data in packages. More...
 
class  DNSEntry
 Represents a DNS entry (Resource Record). More...
 
class  DNSStrategy
 Strategy class for handling DNS packages. More...
 
class  Header
 Class representing headers for different protocols. More...
 
class  HeaderAttribute
 Class representing an attribute of a header. More...
 
class  HeaderAttributeNotFoundException
 Exception class for header attribute not found scenarios. More...
 
class  HeaderNotFoundException
 Exception class for scenarios when a header is not found. More...
 
class  HeaderUtil
 A static class that provides methods to convert header data to string. More...
 
class  Host
 Represents a network host that can communicate through routers. More...
 
class  HTTP
 A static class that provides methods to handle HTTP requests and responses. More...
 
class  HTTPStrategy
 Strategy class for handling HTTP packages. More...
 
class  IPackageStrategy
 Interface for defining strategies to handle packages. More...
 
class  IPAddress
 Represents an IPv4 address. More...
 
class  IPv4
 A static class that provides methods to handle IPv4 headers and their checksum. More...
 
class  Logger
 A utility class that provides static methods for logging messages. More...
 
class  MAC
 A static class that provides methods to handle MAC headers and their Frame Check Sequence (FCS). More...
 
class  MACAddress
 Represents a Media Access Control (MAC) address. More...
 
class  NATEntry
 Represents an entry in the NAT table with an IP address and associated port. More...
 
class  NetworkCard
 Represents a virtual network card with network and physical address capabilities. More...
 
class  Package
 Represents a network package. More...
 
class  PackageDatabase
 A singleton class to manage and provide access to a list of Package objects. More...
 
class  PackageTableModel
 Custom table model to represent a list of Package objects. More...
 
class  Port
 Represents a network port. More...
 
class  Process
 Represents a network process. More...
 
class  Router
 Represents a virtual router with capability to forward packages. More...
 
class  Server
 Represents a Server entity in the simulation. More...
 
class  SimulationManager
 Manages and simulates a network consisting of clients, servers, and routers. More...
 
class  Socket
 Represents a networking socket for transmitting and receiving data. More...
 
class  TCP
 A static class providing methods for initializing TCP headers and managing TCP flags. More...
 
class  TCPClientConnectionCloseStrategy
 Implements the client-side TCP connection close strategy. More...
 
class  TCPClientHandshakeStrategy
 Implements the client-side TCP handshake strategy. More...
 
class  TCPServerConnectionCloseStrategy
 
class  TCPServerHandshakeStrategy
 
class  UDP
 A static class providing methods for initializing UDP headers. More...
 

Enumerations

enum  RRAttribute {
  FULL_DATA , NAME , TYPE , CLASS ,
  TTL , DATA_LENGTH , DATA
}
 Enumeration to represent various Resource Record attributes. More...
 
enum  DNSFlag {
  REPLY_CODE = 0 , NON_AUTHENTICATED_DATA = 4 , ANSWER_AUTHENTICATED = 5 , RECURSION_AVAILABLE = 7 ,
  RECURSION_DESIRED = 8 , TRUNCATED = 9 , AUTHORITATIVE = 10 , OPCODE = 11 ,
  RESPONSE = 15
}
 
enum  HeaderType {
  HTTP , DNS , TCP , UDP ,
  IP , MAC , UNKNOWN
}
 
enum  IPFlag { MF = 0 , DF = 1 }
 Enumeration representing IP Flags. More...
 
enum  TCPFlag {
  FIN = 0 , SYN = 1 , RST = 2 , PSH = 3 ,
  ACK = 4 , URG = 5 , ECE = 6 , CWR = 7 ,
  NS = 8
}
 TCP Flags used for the TCP header. More...
 

Enumeration Type Documentation

◆ DNSFlag

Enumerator
REPLY_CODE 
NON_AUTHENTICATED_DATA 
ANSWER_AUTHENTICATED 
RECURSION_AVAILABLE 
RECURSION_DESIRED 
TRUNCATED 
AUTHORITATIVE 
OPCODE 
RESPONSE 

◆ HeaderType

Enumerator
HTTP 
DNS 
TCP 
UDP 
IP 
MAC 
UNKNOWN 

◆ IPFlag

Enumeration representing IP Flags.

Enumerator
MF 
DF 

◆ RRAttribute

Enumeration to represent various Resource Record attributes.

Enumerator
FULL_DATA 
NAME 
TYPE 
CLASS 
TTL 
DATA_LENGTH 
DATA 

◆ TCPFlag

TCP Flags used for the TCP header.

Enumerator
FIN 
SYN 
RST 
PSH 
ACK 
URG 
ECE 
CWR 
NS