Class: WMI::Win32_IP4RouteTable

Inherits:
Base
  • Object
show all
Defined in:
lib/Win32_IP4RouteTable.rb

Overview

IP4RouteTable クラス情報はネットワーク データ パケットがルートされる場所を指定します (たとえば、通常インターネット パケットはゲートウェイに送信され、ローカル パケットはクライアント コンピュータによって直接にルートされる可能性があります。)。管理者はこの情報を使用して、間違ってルートされたパケットに関連する問題を追跡したり、必要な場合にはコンピュータを新しいゲートウェイに経由させたりすることができます。このクラスは特に IP4 を扱い、IPX または IP6 は扱いません。コマンド プロンプトで ‘Route Print’ コマンドを入力するときに現れる情報をモデル化するためにのみ設計されています。 注: このクラスの更新インスタンスはサポートされていますが、無効であるか、ネットワーク プロトコル スタックにより認識されていない提供プロパティ値は正しく更新されずに、元の値が残ります。これが起こるときにエラーが生成される保証はありませんが、その場合は何も更新されません。

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from Base

#AddRef, #AssociatorsAsync_, #Associators_, #Clone_, #CompareTo_, #DeleteAsync_, #Delete_, #Derivation_, #ExecMethodAsync_, #ExecMethod_, #GetIDsOfNames, #GetObjectText_, #GetText_, #GetTypeInfo, #GetTypeInfoCount, #InstancesAsync_, #Instances_, #Invoke, #Methods_, #Path_, #Properties_, #PutAsync_, #Put_, #Qualifiers_, #QueryInterface, #ReferencesAsync_, #References_, #Refresh_, #Release, #Security_, #SetFromText_, #SpawnDerivedClass_, #SpawnInstance_, #SubclassesAsync_, #Subclasses_, #SystemProperties_

Instance Attribute Details

- (uint32) Age (readonly)

Age プロパティは、このルートが最後に更新されてからか、またはそうでない場合は修正すると判定されてからの秒数を含みます。

 'too old' 

Returns:

  • (uint32)

    Age



9
10
11
# File 'lib/Win32_IP4RouteTable.rb', line 9

def Age
  @Age
end

- (string) Caption (readonly)

Caption プロパティは、オブジェクトについての簡単な説明 (1 行分の文字列) です。

Returns:

  • (string)

    Caption



14
15
16
# File 'lib/Win32_IP4RouteTable.rb', line 14

def Caption
  @Caption
end

- (string) Description (readonly)

Description プロパティでオブジェクトの説明が提供されます。

Returns:

  • (string)

    Description



20
21
22
# File 'lib/Win32_IP4RouteTable.rb', line 20

def Description
  @Description
end

- (string) Destination

Destination プロパティはこのルートの宛先 IP アドレスを含みます。

Returns:

  • (string)

    Destination



25
26
27
# File 'lib/Win32_IP4RouteTable.rb', line 25

def Destination
  @Destination
end

- (string) Information (readonly)

Information プロパティは、ルートの ipRouteProto 値に指定される値によって決定され、このルートに関係する特定のルーティング プロトコルに固有の MIB 定義に対する参照を含みます。

 

Returns:

  • (string)

    Information



31
32
33
# File 'lib/Win32_IP4RouteTable.rb', line 31

def Information
  @Information
end

- (datetime) InstallDate (readonly)

InstallDate プロパティは、オブジェクトがインストールされた日時を示す値です。

 

Returns:

  • (datetime)

    InstallDate



37
38
39
# File 'lib/Win32_IP4RouteTable.rb', line 37

def InstallDate
  @InstallDate
end

- (sint32) InterfaceIndex

InterfaceIndex プロパティは、到達される必要があるこのルートの次のホップをとおしてローカル インターフェイスを一意に識別するインデックス値を含みます。

Returns:

  • (sint32)

    InterfaceIndex



42
43
44
# File 'lib/Win32_IP4RouteTable.rb', line 42

def InterfaceIndex
  @InterfaceIndex
end

- (string) Mask

Mask プロパティはこのエントリで使用されるマスクを含みます。

 

Returns:

  • (string)

    Mask



48
49
50
# File 'lib/Win32_IP4RouteTable.rb', line 48

def Mask
  @Mask
end

- (sint32) Metric1

Metric1 プロパティは、このルートのプライマリ ルーティング メトリックを含みます。

 

Returns:

  • (sint32)

    Metric1



55
56
57
# File 'lib/Win32_IP4RouteTable.rb', line 55

def Metric1
  @Metric1
end

- (sint32) Metric2

Metric2 プロパティは、このルートの代替ルーティング メトリックを含みます。

 

Returns:

  • (sint32)

    Metric2



62
63
64
# File 'lib/Win32_IP4RouteTable.rb', line 62

def Metric2
  @Metric2
end

- (sint32) Metric3

Metric3 プロパティは、このルートの代替ルーティング メトリックを含みます。

 

Returns:

  • (sint32)

    Metric3



69
70
71
# File 'lib/Win32_IP4RouteTable.rb', line 69

def Metric3
  @Metric3
end

- (sint32) Metric4

Metric4 プロパティは、このルートの代替ルーティング メトリックを含みます。

 

Returns:

  • (sint32)

    Metric4



76
77
78
# File 'lib/Win32_IP4RouteTable.rb', line 76

def Metric4
  @Metric4
end

- (sint32) Metric5

Metric5 プロパティは、このルートの代替ルーティング メトリックを含みます。

 

Returns:

  • (sint32)

    Metric5



83
84
85
# File 'lib/Win32_IP4RouteTable.rb', line 83

def Metric5
  @Metric5
end

- (string) Name (readonly)

Name プロパティで、オブジェクトを認識するラベルを定義します。

 

Returns:

  • (string)

    Name



89
90
91
# File 'lib/Win32_IP4RouteTable.rb', line 89

def Name
  @Name
end

- (string) NextHop

NextHop プロパティはこのルートの次のホップの IP アドレスを含みます。

 (

Returns:

  • (string)

    NextHop



96
97
98
# File 'lib/Win32_IP4RouteTable.rb', line 96

def NextHop
  @NextHop
end

- (uint32) Protocol (readonly)

Protocol プロパティはこのルートを学習するルーティング機構を示します。

 

Returns:

  • (uint32)

    Protocol



102
103
104
# File 'lib/Win32_IP4RouteTable.rb', line 102

def Protocol
  @Protocol
end

- (string) Status (readonly)

Status プロパティはオブジェクトの現在の状態を示す文字列です。

 

Returns:

  • (string)

    Status



115
116
117
# File 'lib/Win32_IP4RouteTable.rb', line 115

def Status
  @Status
end

- (uint32) Type

Type プロパティはルートの種類を示します。

 

Returns:

  • (uint32)

    Type



126
127
128
# File 'lib/Win32_IP4RouteTable.rb', line 126

def Type
  @Type
end