public class WOLNode extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
BROADCAST_IP
The Constant BROADCAST_IP.
|
static int |
WOL_PORT
The Constant WOL_PORT.
|
| 构造器和说明 |
|---|
WOLNode(String macAddress)
Instantiates a new wOL node.
|
WOLNode(String macAddress,
String broadcastIp,
int broadcastPort)
Instantiates a new wOL node.
|
public static final int WOL_PORT
public WOLNode(String macAddress)
macAddress - the mac addresspublic void wakeUP()
throws UnableToWakeUpWOLNodeException
UnableToWakeUpWOLNodeException - the unable to wake up wol node exceptionpublic static WOLNode create(String macAddress)
macAddress - the mac addresspublic static WOLNode create(String macAddress, String broadcast, int port)
macAddress - the mac addressbroadcast - the broadcastport - the portCopyright © 2021. All rights reserved.