MulticastEvent
Contents
[
Hide
]Inheritance: java.lang.Object
public class MulticastEvent<EventArg>
Created by lexchou on 4/24/2017.
Constructors
Constructor | Description |
---|---|
MulticastEvent() |
Methods
MulticastEvent()
public MulticastEvent()
Subscribe(MulticastEvent e, EventCallback callback)
public static MulticastEvent<EventArg> <EventArg>Subscribe(MulticastEvent<EventArg> e, EventCallback<EventArg> callback)
Parameters:
Parameter | Type | Description |
---|---|---|
e | MulticastEvent | |
callback | EventCallback |
Returns: MulticastEvent
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
invoke(Object sender, EventArg arg)
public void invoke(Object sender, EventArg arg)
Parameters:
Parameter | Type | Description |
---|---|---|
sender | java.lang.Object | |
arg | EventArg |
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
subscribe(EventCallback callback)
public void subscribe(EventCallback<EventArg> callback)
Parameters:
Parameter | Type | Description |
---|---|---|
callback | EventCallback |
toString()
public String toString()
Returns: java.lang.String
unsubscribe(EventCallback callback)
public void unsubscribe(EventCallback<EventArg> callback)
Parameters:
Parameter | Type | Description |
---|---|---|
callback | EventCallback |
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |