org.kurento.client.SessionEndpoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kurento-client Show documentation
Show all versions of kurento-client Show documentation
Kurento Client
The Kurento Client project allows server applications to control media server resources.
/**
* This file is generated with Kurento-maven-plugin.
* Please don't edit.
*/
package org.kurento.client;
/**
*
* All networked Endpoints that require to manage connection sessions with remote peers implement this interface.
*
**/
@org.kurento.client.internal.RemoteClass
public interface SessionEndpoint extends Endpoint {
/**
* Add a {@link EventListener} for event {@link MediaSessionTerminatedEvent}. Synchronous call.
*
* @param listener Listener to be called on MediaSessionTerminatedEvent
* @return ListenerSubscription for the given Listener
*
**/
@org.kurento.client.internal.server.EventSubscription(MediaSessionTerminatedEvent.class)
ListenerSubscription addMediaSessionTerminatedListener(EventListener listener);
/**
* Add a {@link EventListener} for event {@link MediaSessionTerminatedEvent}. Asynchronous call.
* Calls Continuation<ListenerSubscription> when it has been added.
*
* @param listener Listener to be called on MediaSessionTerminatedEvent
* @param cont Continuation to be called when the listener is registered
*
**/
@org.kurento.client.internal.server.EventSubscription(MediaSessionTerminatedEvent.class)
void addMediaSessionTerminatedListener(EventListener listener, Continuation cont);
/**
* Remove a {@link ListenerSubscription} for event {@link MediaSessionTerminatedEvent}. Synchronous call.
*
* @param listenerSubscription Listener subscription to be removed
*
**/
@org.kurento.client.internal.server.EventSubscription(MediaSessionTerminatedEvent.class)
void removeMediaSessionTerminatedListener(ListenerSubscription listenerSubscription);
/**
* Remove a {@link ListenerSubscription} for event {@link MediaSessionTerminatedEvent}. Asynchronous call.
* Calls Continuation<Void> when it has been removed.
*
* @param listenerSubscription Listener subscription to be removed
* @param cont Continuation to be called when the listener is removed
*
**/
@org.kurento.client.internal.server.EventSubscription(MediaSessionTerminatedEvent.class)
void removeMediaSessionTerminatedListener(ListenerSubscription listenerSubscription, Continuation cont);
/**
* Add a {@link EventListener} for event {@link MediaSessionStartedEvent}. Synchronous call.
*
* @param listener Listener to be called on MediaSessionStartedEvent
* @return ListenerSubscription for the given Listener
*
**/
@org.kurento.client.internal.server.EventSubscription(MediaSessionStartedEvent.class)
ListenerSubscription addMediaSessionStartedListener(EventListener listener);
/**
* Add a {@link EventListener} for event {@link MediaSessionStartedEvent}. Asynchronous call.
* Calls Continuation<ListenerSubscription> when it has been added.
*
* @param listener Listener to be called on MediaSessionStartedEvent
* @param cont Continuation to be called when the listener is registered
*
**/
@org.kurento.client.internal.server.EventSubscription(MediaSessionStartedEvent.class)
void addMediaSessionStartedListener(EventListener listener, Continuation cont);
/**
* Remove a {@link ListenerSubscription} for event {@link MediaSessionStartedEvent}. Synchronous call.
*
* @param listenerSubscription Listener subscription to be removed
*
**/
@org.kurento.client.internal.server.EventSubscription(MediaSessionStartedEvent.class)
void removeMediaSessionStartedListener(ListenerSubscription listenerSubscription);
/**
* Remove a {@link ListenerSubscription} for event {@link MediaSessionStartedEvent}. Asynchronous call.
* Calls Continuation<Void> when it has been removed.
*
* @param listenerSubscription Listener subscription to be removed
* @param cont Continuation to be called when the listener is removed
*
**/
@org.kurento.client.internal.server.EventSubscription(MediaSessionStartedEvent.class)
void removeMediaSessionStartedListener(ListenerSubscription listenerSubscription, Continuation cont);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy