|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceContainerSenderCreationListener
A ServiceContainer may create new senders - for example, when a remote stream is
being received by a remote client and a sender is created in order to retrieve the stream data from the client.
Because senders are typically a highly configured object and because the service container won't know all the
different configurations a sender needs to have, this listener object is used to notify other objects when a sender
object is created by the service container. Listeners are registered on the service container; when the service
container creates a new sender object, the listeners are notified, giving them an opportunity to complete the
configuration of the sender.
| Method Summary | |
|---|---|
void |
postCreate(ServiceContainer serviceContainer,
ClientCommandSender sender)
Called when the given service container has finished creating the given sender. |
void |
preCreate(ServiceContainer serviceContainer,
RemoteCommunicator remoteCommunicator,
ClientCommandSenderConfiguration senderConfiguration)
Called when the given service container is going to create a sender. |
| Method Detail |
|---|
void preCreate(ServiceContainer serviceContainer,
RemoteCommunicator remoteCommunicator,
ClientCommandSenderConfiguration senderConfiguration)
serviceContainer - the service container that is creating the senderremoteCommunicator - the communicator that will be used by the sendersenderConfiguration - the actual configuration for the sender
void postCreate(ServiceContainer serviceContainer,
ClientCommandSender sender)
serviceContainer - the service container that created the sendersender - the sender that was just created
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||