org.alliance.core.node
Class MyNode
java.lang.Object
org.alliance.core.node.Node
org.alliance.core.node.MyNode
public class MyNode
- extends Node
Created by IntelliJ IDEA.
User: maciek
Date: 2006-jan-03
Time: 14:38:28
To change this template use File | Settings | File Templates.
|
Constructor Summary |
MyNode(java.lang.String nickname,
int guid)
|
| Methods inherited from class org.alliance.core.node.Node |
addFriendsFriend, friendsFriends, friendsFriendsLoaded, getFriendsFriend, getFriendsFriends, getGuid, getNickname, getShareSize, setFriendsFriends, setGuid, setNickname, setShareSize, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MyNode
public MyNode(java.lang.String nickname,
int guid)
isConnected
public boolean isConnected()
- Specified by:
isConnected in class Node
getExternalIp
public java.lang.String getExternalIp(CoreSubsystem core)
throws java.io.IOException
- Throws:
java.io.IOException
getExternalIp
public java.lang.String getExternalIp()
setExternalIp
public void setExternalIp(java.lang.String externalIp)
autodetectExternalIp
public void autodetectExternalIp(CoreSubsystem core)
throws java.io.IOException
- Throws:
java.io.IOException