libkysdk-system/man/kysdk-java/kylin_kysdk_java_method_Net...

246 lines
5.6 KiB
Groff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.TH "kylin.kysdk.java.method.NetCardMethod" 3 "Wed Sep 20 2023" "My Project" \" -*- nroff -*-
.ad l
.nh
.SH NAME
kylin.kysdk.java.method.NetCardMethod \- 获取网卡信息类 主要用来获取网卡列表、检测指定网卡是否处于UP状态、获取系统中当前处于 link up 状态的网卡列表、获取指定网卡的物理MAC地址 获取指定网卡的第一个IPv4地址、获取指定网卡的所有IPv4地址、获取指定网卡的第一个IPv6地址、获取指定网卡的所有IPv6地址、 获取指定网卡的有线/无线类型、获取指定网卡的厂商名称和设备型号
.SH SYNOPSIS
.br
.PP
.PP
Inherits netcard\&.
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "List< String > \fBgetNetCardName\fP ()"
.br
.RI "获取系统中所有的网卡 "
.ti -1c
.RI "int \fBgetNetCardUp\fP (String nc)"
.br
.RI "检测指定网卡是否处于UP状态 "
.ti -1c
.RI "List< String > \fBgetNetCardUpcards\fP ()"
.br
.RI "获取系统中当前处于 link up 状态的网卡列表 "
.ti -1c
.RI "String \fBgetNetCardPhymac\fP (String nc)"
.br
.RI "获取指定网卡的物理MAC地址 "
.ti -1c
.RI "String \fBgetNetCardPrivateIPv4\fP (String nc)"
.br
.RI "获取指定网卡的第一个IPv4地址 "
.ti -1c
.RI "List< String > \fBgetNetCardIPv4\fP (String nc)"
.br
.RI "获取指定网卡的所有IPv4地址 "
.ti -1c
.RI "String \fBgetNetCardPrivateIPv6\fP (String nc)"
.br
.RI "获取指定网卡的第一个IPv6地址 "
.ti -1c
.RI "List< String > \fBgetNetCardIPv6\fP (String nc)"
.br
.RI "获取指定网卡的所有IPv6地址 "
.ti -1c
.RI "int \fBgetNetCardType\fP (String nc)"
.br
.RI "获取指定网卡的有线/无线类型 "
.ti -1c
.RI "List< String > \fBgetNetCardProduct\fP (String nc)"
.br
.RI "获取指定网卡的厂商名称和设备型号 "
.ti -1c
.RI "boolean \fBisRemote\fP ()"
.br
.RI "判断是否为远程对象 "
.ti -1c
.RI "String \fBgetObjectPath\fP ()"
.br
.RI "获取ObjectPath【未实现】 "
.in -1c
.SH "Detailed Description"
.PP
获取网卡信息类 主要用来获取网卡列表、检测指定网卡是否处于UP状态、获取系统中当前处于 link up 状态的网卡列表、获取指定网卡的物理MAC地址 获取指定网卡的第一个IPv4地址、获取指定网卡的所有IPv4地址、获取指定网卡的第一个IPv6地址、获取指定网卡的所有IPv6地址、 获取指定网卡的有线/无线类型、获取指定网卡的厂商名称和设备型号
.PP
.SH "Function Documentation"
.PP
.SS "List<String> kylin\&.kysdk\&.java\&.method\&.NetCardMethod\&.getNetCardIPv4 (String nc)\fC [inline]\fP"
.PP
获取指定网卡的所有IPv4地址
.PP
\fBParameters\fP
.RS 4
\fInc\fP 网卡名称如eno1
.RE
.PP
\fBReturns\fP
.RS 4
List<String> IPv4地址列表
.RE
.PP
.SS "List<String> kylin\&.kysdk\&.java\&.method\&.NetCardMethod\&.getNetCardIPv6 (String nc)\fC [inline]\fP"
.PP
获取指定网卡的所有IPv6地址
.PP
\fBParameters\fP
.RS 4
\fInc\fP 网卡名称如eno1
.RE
.PP
\fBReturns\fP
.RS 4
List<String> IPv6地址列表
.RE
.PP
.SS "List<String> kylin\&.kysdk\&.java\&.method\&.NetCardMethod\&.getNetCardName ()\fC [inline]\fP"
.PP
获取系统中所有的网卡
.PP
\fBReturns\fP
.RS 4
List<String> 网卡名称列表
.RE
.PP
.SS "String kylin\&.kysdk\&.java\&.method\&.NetCardMethod\&.getNetCardPhymac (String nc)\fC [inline]\fP"
.PP
获取指定网卡的物理MAC地址
.PP
\fBParameters\fP
.RS 4
\fInc\fP 网卡名称如eno1
.RE
.PP
\fBReturns\fP
.RS 4
String 物理MAC地址
.RE
.PP
.SS "String kylin\&.kysdk\&.java\&.method\&.NetCardMethod\&.getNetCardPrivateIPv4 (String nc)\fC [inline]\fP"
.PP
获取指定网卡的第一个IPv4地址
.PP
\fBParameters\fP
.RS 4
\fInc\fP 网卡名称如eno1
.RE
.PP
\fBReturns\fP
.RS 4
String IPv4地址
.RE
.PP
.SS "String kylin\&.kysdk\&.java\&.method\&.NetCardMethod\&.getNetCardPrivateIPv6 (String nc)\fC [inline]\fP"
.PP
获取指定网卡的第一个IPv6地址
.PP
\fBParameters\fP
.RS 4
\fInc\fP 网卡名称如eno1
.RE
.PP
\fBReturns\fP
.RS 4
String IPv6地址
.RE
.PP
.SS "List<String> kylin\&.kysdk\&.java\&.method\&.NetCardMethod\&.getNetCardProduct (String nc)\fC [inline]\fP"
.PP
获取指定网卡的厂商名称和设备型号
.PP
\fBParameters\fP
.RS 4
\fInc\fP 网卡名称如eno1
.RE
.PP
\fBReturns\fP
.RS 4
List<String> 网卡的厂商名称和设备型号
.RE
.PP
.SS "int kylin\&.kysdk\&.java\&.method\&.NetCardMethod\&.getNetCardType (String nc)\fC [inline]\fP"
.PP
获取指定网卡的有线/无线类型
.PP
\fBParameters\fP
.RS 4
\fInc\fP 网卡名称如eno1
.RE
.PP
\fBReturns\fP
.RS 4
int 0 有线 1 无线
.RE
.PP
.SS "int kylin\&.kysdk\&.java\&.method\&.NetCardMethod\&.getNetCardUp (String nc)\fC [inline]\fP"
.PP
检测指定网卡是否处于UP状态
.PP
\fBParameters\fP
.RS 4
\fInc\fP 网卡名称如eno1
.RE
.PP
\fBReturns\fP
.RS 4
int Up返回1Down返回0
.RE
.PP
.SS "List<String> kylin\&.kysdk\&.java\&.method\&.NetCardMethod\&.getNetCardUpcards ()\fC [inline]\fP"
.PP
获取系统中当前处于 link up 状态的网卡列表
.PP
\fBReturns\fP
.RS 4
List<String> 处于link up状态的网卡列表
.RE
.PP
.SS "String kylin\&.kysdk\&.java\&.method\&.NetCardMethod\&.getObjectPath ()\fC [inline]\fP"
.PP
获取ObjectPath【未实现】
.PP
\fBReturns\fP
.RS 4
String ObjectPath
.RE
.PP
.SS "boolean kylin\&.kysdk\&.java\&.method\&.NetCardMethod\&.isRemote ()\fC [inline]\fP"
.PP
判断是否为远程对象
.PP
\fBReturns\fP
.RS 4
boolean Returns true on remote objects\&. Local objects implementing this interface MUST return false\&.
.RE
.PP
.SH "Author"
.PP
Generated automatically by Doxygen for NetCardMethod.java from the source code\&.