Package com.wowza.wms.module
Interface IModuleOnConnect
public interface IModuleOnConnect
IModuleOnConnect: method interface examples for client level methods in a module.
Since module method must be implemented as static method a module cannot directly implements this interface. This interface only serves as an example of the method names and call signature needed to implement these client methods.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onConnect
(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params) Invoked when a client connection is initiated.void
onConnectAccept
(IClient client) Invoked when a client connection is accepted.void
onConnectReject
(IClient client) Invoked when a client connection is rejected.void
onDisconnect
(IClient client) Invoked when a client disconnects.
-
Method Details
-
onConnect
Invoked when a client connection is initiated. It is within this method that module can call to client.acceptConnection or client.rejectConnection.- Parameters:
client
- clientfunction
- function objectparams
- function parameters
-
onDisconnect
Invoked when a client disconnects.- Parameters:
client
- client
-
onConnectAccept
Invoked when a client connection is accepted.- Parameters:
client
- client
-
onConnectReject
Invoked when a client connection is rejected.- Parameters:
client
- client
-