Ejemplo n.º 1
0
 internal DhcpClientStateBound(DhcpClient client,
                               IPv4 serverAddress,
                               IPv4 hostAddress,
                               SortedList hostOptions)
     : base(client, "Bound")
 {
     this.serverAddress = serverAddress;
     this.hostAddress   = hostAddress;
     this.hostOptions   = hostOptions;
 }
Ejemplo n.º 2
0
 internal DhcpClientStateRequesting(DhcpClient client,
                                    IPv4 serverAddress,
                                    IPv4 offeredAddress,
                                    SortedList offeredOptions)
     : base(client, "Requesting")
 {
     this.serverAddress  = serverAddress;
     this.offeredAddress = offeredAddress;
     this.offeredOptions = offeredOptions;
 }
Ejemplo n.º 3
0
 internal DhcpClientStateInitialize(DhcpClient client)
     : base(client, "Initialize")
 {
 }
Ejemplo n.º 4
0
 /// <summary>
 /// General purpose timer expiry event.
 /// </summary>
 internal virtual void StateTimeoutEvent()
 {
     DhcpClient.DebugPrint("FSM State Specific Timeout: {0}\n",
                           stateName);
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Rebind timer expiry event.
 /// </summary>
 internal virtual void RebindTimeoutEvent()
 {
     DhcpClient.DebugPrint("FSM Rebind Timeout: {0}\n", stateName);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// State should process that has arrived.
 /// </summary>
 internal virtual void ReceiveEvent(DhcpFormat !df)
 {
     DhcpClient.DebugPrint("FSM Ignored DHCP packet: {0}\n", stateName);
 }
Ejemplo n.º 7
0
 internal DhcpClientStateRebinding(DhcpClient client)
     : base(client, "Rebinding")
 {
 }
Ejemplo n.º 8
0
 internal DhcpClientStateRenewing(DhcpClient client,
                                  SortedList hostOptions)
     : base(client, "Renewing")
 {
     this.hostOptions = hostOptions;
 }
Ejemplo n.º 9
0
 internal DhcpClientState(DhcpClient client, string stateName)
 {
     this.client    = client;
     this.stateName = stateName;
 }
Ejemplo n.º 10
0
 internal DhcpClientStateSelecting(DhcpClient client)
     : base(client, "Selecting")
 {
 }