|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgr.uoa.di.madgik.commons.channel.events.EventFactory
public class EventFactory
A factory for creating Event objects.
| Constructor Summary | |
|---|---|
EventFactory()
|
|
| Method Summary | |
|---|---|
static ChannelStateEvent |
GetEvent(ChannelState.EventName Name,
byte[] serialization)
Retrieves an instance of the event based on the provided name as provided by the ChannelState.EventName
and the serialization of the event as this was produced by ISerializable.Encode() |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventFactory()
| Method Detail |
|---|
public static ChannelStateEvent GetEvent(ChannelState.EventName Name,
byte[] serialization)
throws java.lang.Exception
ChannelState.EventName
and the serialization of the event as this was produced by ISerializable.Encode()
Name - the nameserialization - the serialization
java.lang.Exception - The event could not be instantiated
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||