Esempio 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;
 }
Esempio 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;
 }
Esempio n. 3
0
 internal DhcpClientStateInitialize(DhcpClient client)
     : base(client, "Initialize")
 {
 }
Esempio n. 4
0
 /// <summary>
 /// General purpose timer expiry event.
 /// </summary>
 internal virtual void StateTimeoutEvent()
 {
     DhcpClient.DebugPrint("FSM State Specific Timeout: {0}\n",
                           stateName);
 }
Esempio n. 5
0
 /// <summary>
 /// Rebind timer expiry event.
 /// </summary>
 internal virtual void RebindTimeoutEvent()
 {
     DhcpClient.DebugPrint("FSM Rebind Timeout: {0}\n", stateName);
 }
Esempio 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);
 }
Esempio n. 7
0
 internal DhcpClientStateRebinding(DhcpClient client)
     : base(client, "Rebinding")
 {
 }
Esempio n. 8
0
 internal DhcpClientStateRenewing(DhcpClient client,
                                  SortedList hostOptions)
     : base(client, "Renewing")
 {
     this.hostOptions = hostOptions;
 }
Esempio n. 9
0
 internal DhcpClientState(DhcpClient client, string stateName)
 {
     this.client    = client;
     this.stateName = stateName;
 }
Esempio n. 10
0
 internal DhcpClientStateSelecting(DhcpClient client)
     : base(client, "Selecting")
 {
 }