MulticastEvent

Inheritance: java.lang.Object

public class MulticastEvent<EventArg>

Created by lexchou on 4/24/2017.

Constructors

ConstructorDescription
MulticastEvent()

Methods

MethodDescription
Subscribe(MulticastEvent e, EventCallback callback)
equals(Object arg0)
getClass()
hashCode()
invoke(Object sender, EventArg arg)
notify()
notifyAll()
subscribe(EventCallback callback)
toString()
unsubscribe(EventCallback callback)
wait()
wait(long arg0)
wait(long arg0, int arg1)

MulticastEvent()

public MulticastEvent()

Subscribe(MulticastEvent e, EventCallback callback)

public static MulticastEvent<EventArg> <EventArg>Subscribe(MulticastEvent<EventArg> e, EventCallback<EventArg> callback)

Parameters:

ParameterTypeDescription
eMulticastEvent
callbackEventCallback

Returns: MulticastEvent

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
senderjava.lang.Object
argEventArg

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

subscribe(EventCallback callback)

public void subscribe(EventCallback<EventArg> callback)

Parameters:

ParameterTypeDescription
callbackEventCallback

toString()

public String toString()

Returns: java.lang.String

unsubscribe(EventCallback callback)

public void unsubscribe(EventCallback<EventArg> callback)

Parameters:

ParameterTypeDescription
callbackEventCallback

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int