Asterisk-Java

org.asteriskjava.manager
Interface ResponseEvents

All Known Implementing Classes:
ResponseEventsImpl

public interface ResponseEvents

Contains the result of executing an EventGeneratingAction, that is the ManagerResponse and any received ManagerEvents.

Since:
0.2
Version:
$Id: ResponseEvents.java 938 2007-12-31 03:23:38Z srt $
Author:
srt
See Also:
EventGeneratingAction

Method Summary
 java.util.Collection<ResponseEvent> getEvents()
          Returns a Collection of ManagerEvents that have been received including the last one that indicates completion.
 ManagerResponse getResponse()
          Returns the response received.
 

Method Detail

getResponse

ManagerResponse getResponse()
Returns the response received.

Returns:
the response received.

getEvents

java.util.Collection<ResponseEvent> getEvents()
Returns a Collection of ManagerEvents that have been received including the last one that indicates completion.

Returns:
a Collection of ManagerEvents received.

Asterisk-Java

Copyright © 2004-2009 Stefan Reuter. All Rights Reserved.