Package org.red5.server.api.event
Interface IEvent
- All Known Subinterfaces:
IRTMPEvent
- All Known Implementing Classes:
Abort,Aggregate,AudioData,BaseEvent,BytesRead,ChunkSize,ClientBW,ClientInvokeEvent,ClientNotifyEvent,FlexMessage,FlexStreamSend,Invoke,Notify,Ping,ServerBW,SetBuffer,StreamActionEvent,SWFResponse,Unknown,VideoData
public interface IEvent
IEvent interfaces is the essential interface every Event should implement
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns event context objectReturns event listenergetType()Returns even typebooleanWhether event has source (event listener(s))
-
Method Details
-
getType
IEvent.Type getType()Returns even type- Returns:
- Event type enumeration
-
getObject
Object getObject()Returns event context object- Returns:
- Event context object
-
hasSource
boolean hasSource()Whether event has source (event listener(s))- Returns:
true
if so,false
otherwise
-
getSource
IEventListener getSource()Returns event listener- Returns:
- Event listener object
-