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