1 28 29 package ist.coach.coachEmfServicesComponents.AlarmChannelProviderComposition; 30 31 import ist.coach.coachEmfCommon.Utils; 32 import ist.coach.coachEmfServices.EmfBasicLog.*; 33 39 public class channelChangeSegImpl 40 extends ist.coach.coachEmfServicesComponents.AlarmChannelProviderComposition.channelChangeSeg 41 { 42 48 54 public channelChangeSegImpl() 55 { 56 } 57 58 64 67 public void 68 push(ist.coach.itut_q816Components.ChannelChangeEvent event) 69 { 70 String [] excludedEventTypes = get_main_segment().excludedeventTypes(); 74 for (int i = 0; i < excludedEventTypes.length; i++) { 75 if (excludedEventTypes[i].equals("ChannelChangeEvent")) 76 return; 77 } 78 79 String [] eventTypes = get_main_segment().eventTypes(); 80 boolean eventSupported = false; 81 for (int i = 0; i < eventTypes.length; i++) { 82 if (eventTypes[i].equals("ChannelChangeEvent")) { 83 eventSupported = true; 84 break; 85 } 86 } 87 if (! eventSupported) return; 88 89 get_context().push_channelChange_event(event); 90 } 91 92 } 93 | Popular Tags |