1package javax.sip; 2 3import java.util.EventObject; 4import javax.sip.message.Response; 5 6public class ResponseEvent extends EventObject { 7 private Dialog mDialog; 8 private Response mResponse; 9 private ClientTransaction mClientTransaction; 10 11 public ResponseEvent(Object source, ClientTransaction clientTransaction, 12 Dialog dialog, Response response) { 13 super(source); 14 mDialog = dialog; 15 mResponse = response; 16 mClientTransaction = clientTransaction; 17 } 18 19 public Dialog getDialog() { 20 return mDialog; 21 } 22 23 public Response getResponse() { 24 return mResponse; 25 } 26 27 public ClientTransaction getClientTransaction(){ 28 return mClientTransaction; 29 } 30} 31