Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

net.jxta.impl.rendezvous.rpv
Class PeerViewEvent  view PeerViewEvent download PeerViewEvent.java

java.lang.Object
  extended byjava.util.EventObject
      extended bynet.jxta.impl.rendezvous.rpv.PeerViewEvent
All Implemented Interfaces:
java.io.Serializable

public class PeerViewEvent
extends java.util.EventObject

Container for PeerViewEvent events.


Field Summary
static int ADD
           
private  PeerViewElement element
           
private static java.lang.String[] EVENTNAMES
           
static int FAIL
           
static int REMOVE
           
private  int type
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PeerViewEvent(java.lang.Object source, int type, PeerViewElement element)
          Creates a new event
 
Method Summary
 PeerViewElement getPeerViewElement()
          Returns the PeerViewElement
 int getType()
          Returns the event type
 java.lang.String toString()
          null
 
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

ADD

public static final int ADD
See Also:
Constant Field Values

REMOVE

public static final int REMOVE
See Also:
Constant Field Values

FAIL

public static final int FAIL
See Also:
Constant Field Values

EVENTNAMES

private static final java.lang.String[] EVENTNAMES

type

private int type

element

private PeerViewElement element
Constructor Detail

PeerViewEvent

public PeerViewEvent(java.lang.Object source,
                     int type,
                     PeerViewElement element)
Creates a new event

Method Detail

toString

public java.lang.String toString()
null


getType

public int getType()
Returns the event type


getPeerViewElement

public PeerViewElement getPeerViewElement()
Returns the PeerViewElement