Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 28 29 package ist.coach.coachEmfServicesComponents.AlarmChannelProviderComposition; 30 31 32 38 public class heartbeatSegImpl 39 extends ist.coach.coachEmfServicesComponents.AlarmChannelProviderComposition.heartbeatSeg 40 { 41 47 53 public heartbeatSegImpl() 54 { 55 } 56 57 63 66 public void 67 push(ist.coach.itut_q816Components.Heartbeat event) 68 { 69 73 String [] excludedEventTypes = get_main_segment().excludedeventTypes(); 74 for (int i = 0; i < excludedEventTypes.length; i++) { 75 if (excludedEventTypes[i].equals("Heartbeat")) 76 return; 77 } 78 String [] eventTypes = get_main_segment().eventTypes(); 79 boolean eventSupported = false; 80 for (int i = 0; i < eventTypes.length; i++) { 81 if (eventTypes[i].equals("Heartbeat")) { 82 eventSupported = true; 83 break; 84 } 85 } 86 if (! eventSupported) return; 87 88 event.channelID = get_main_segment().channelId(); 89 try { 91 get_context().push_heartbeat_event(event); 92 } 93 catch(Exception e) {} 94 } 95 96 } 97
| Popular Tags
|