|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
net.java.sip.communicator.service.netaddr.event.ChangeEvent
public class ChangeEvent
A ChangeEvent is fired on change of the network configuration of the computer.
| Field Summary | |
|---|---|
static int |
ADDRESS_DOWN
Event type for address going down. |
static int |
ADDRESS_UP
Event type for interface going down. |
static int |
DNS_CHANGE
Event type for dns change. |
static int |
IFACE_DOWN
Event type for interface going down. |
static int |
IFACE_UP
Event type for interface going up. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ChangeEvent(Object source,
int type)
Creates event. |
|
ChangeEvent(Object source,
int type,
boolean standby)
Creates event. |
|
ChangeEvent(Object source,
int type,
InetAddress address)
Creates event. |
|
ChangeEvent(Object source,
int type,
InetAddress address,
boolean standby,
boolean initial)
Creates event. |
|
| Method Summary | |
|---|---|
InetAddress |
getAddress()
The address that changed. |
int |
getType()
The type of this event. |
boolean |
isInitial()
Is this event initial one. |
boolean |
isStandby()
Whether this event is after suspend of the computer. |
String |
toString()
Overrides toString method. |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int IFACE_DOWN
public static final int IFACE_UP
public static final int ADDRESS_DOWN
public static final int ADDRESS_UP
public static final int DNS_CHANGE
| Constructor Detail |
|---|
public ChangeEvent(Object source,
int type,
InetAddress address,
boolean standby,
boolean initial)
source - the source of the event, the interface.type - the type of the event.address - the address that changed.standby - is the event after a suspend of the computer.initial - is this event initial one.
public ChangeEvent(Object source,
int type,
InetAddress address)
source - the source of the event, the interface.type - the type of the event.address - the address that changed.
public ChangeEvent(Object source,
int type)
source - the source of the event, the interface.type - the type of the event.
public ChangeEvent(Object source,
int type,
boolean standby)
source - the source of the event.type - the type of the event.standby - is the event after a suspend of the computer.| Method Detail |
|---|
public int getType()
public InetAddress getAddress()
public boolean isStandby()
public String toString()
toString in class EventObjectpublic boolean isInitial()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||