Interface IServiceCapableConnection

All Superinterfaces:
AttributeStoreMXBean, IAttributeStore, ICastingAttributeStore, IConnection, ICoreObject, IEventDispatcher, IEventHandler, IEventListener
All Known Implementing Classes:
RTMPConnection, RTMPMinaConnection

public interface IServiceCapableConnection extends IConnection
Connection that has options to invoke and handle remote calls
  • Method Details

    • invoke

      void invoke(IServiceCall call)
      Invokes service using remoting call object.
      Parameters:
      call - Service call object
    • invoke

      void invoke(IServiceCall call, int channel)
      Invoke service using call and channel.
      Parameters:
      call - Service call
      channel - Channel used
    • invoke

      void invoke(String method)
      Invoke method by name.
      Parameters:
      method - Called method name
    • invoke

      void invoke(String method, IPendingServiceCallback callback)
      Invoke method by name with callback.
      Parameters:
      method - Called method name
      callback - Callback
    • invoke

      void invoke(String method, Object[] params)
      Invoke method with parameters.
      Parameters:
      method - Method name
      params - Invocation parameters passed to method
    • invoke

      void invoke(String method, Object[] params, IPendingServiceCallback callback)
      Invoke method with parameters.
      Parameters:
      method - by name
      params - method params
      callback - callback
    • notify

      void notify(IServiceCall call)
      Notify method.
      Parameters:
      call - service call
    • notify

      void notify(IServiceCall call, int channel)
      Notify method with channel id.
      Parameters:
      call - service call
      channel - channel id
    • notify

      void notify(String method)
      Notify method.
      Parameters:
      method - by name
    • notify

      void notify(String method, Object[] params)
      Notify method with parameters.
      Parameters:
      method - by name
      params - method params
    • status

      void status(Status status)
      Sends a status object to the connection.
      Parameters:
      status - Status
    • status

      void status(Status status, int channel)
      Sends a status object to the connection on a given channel.
      Parameters:
      status - Status
      channel - channel id