org.red5.server.messaging
public abstract class ServiceAdapter extends Object
Constructor and Description |
---|
ServiceAdapter() |
Modifier and Type | Method and Description |
---|---|
boolean |
handlesSubscriptions()
Returns true if the adapter performs custom subscription management.
|
abstract Object |
invoke(Message message)
Handle a data message intended for this adapter.
|
Object |
manage(CommandMessage commandMessage)
Accept a command from the adapter's service and perform some internal
action based upon it.
|
void |
start()
Starts the adapter if its associated Destination is started and if the adapter
is not already running.
|
void |
stop()
Stops the ServiceAdapter.
|
public void start()
public void stop()
public abstract Object invoke(Message message)
message
- the message as sent by the client intended for this adapterpublic Object manage(CommandMessage commandMessage)
commandMessage
- public boolean handlesSubscriptions()
Copyright © 2006-2012 The Red5 Project