Examples of EventType


Examples of org.restlet.ext.sip.EventType

    public Event readValue() throws IOException {
        Event result = null;

        skipSpaces();
        if (peek() != -1) {
            EventType eventType = null;
            String str = readSegment();
            if (str != null) {
                eventType = new EventType(str);
                while ((str = readSegment()) != null) {
                    eventType.getEventTemplates().add(str);
                }

                result = new Event();
                result.setType(eventType);
                // Read event parameters.
View Full Code Here

Examples of org.sleuthkit.autopsy.timeline.events.type.EventType

        } catch (Exception exception) {
        }
    }

    private TimeLineEvent constructTimeLineEvent(ResultSet rs) throws SQLException {
        EventType type = RootEventType.allTypes.get(rs.getInt(SUB_TYPE_COLUMN));
        return new TimeLineEvent(rs.getLong(EVENT_ID_COLUMN),
                                 rs.getLong(FILE_ID_COLUMN),
                                 rs.getLong(ARTIFACT_ID_COLUMN),
                                 rs.getLong(TIME_COLUMN),
                                 type,
View Full Code Here

Examples of org.springframework.integration.ip.tcp.connection.TcpConnectionEvent.EventType

  }

  @Override
  public void onApplicationEvent(TcpConnectionEvent event) {

    final EventType eventType = event.getType();

    if (TcpConnectionEventType.OPEN.equals(eventType)) {

    }
    else if (TcpConnectionEventType.CLOSE.equals(eventType)) {
View Full Code Here

Examples of org.talend.esb.sam._2011._03.common.EventType

 
  @Test
  public void testEventMapper() throws IOException {
    Event event = new Event();
    event.setContent("testContent");
    EventType eventOut = EventMapper.map(event);
    DataHandler dh = eventOut.getContent();
    String outContent = getContent(dh);
    Assert.assertEquals(event.getContent(), outContent);
    // TODO test the other properties
  }
View Full Code Here

Examples of org.wso2.carbon.registry.common.beans.utils.EventType

                    int count = 0;
                    for (Map.Entry<String, String[]> e : entrySet) {
                        if (Utils.getRegistryEventingService().isEventTypeExclusionRegistered(e.getKey(), path)) {
                            continue;   
                        }
                        EventType eventType = new EventType();
                        eventType.setId(e.getKey());
                        eventType.setResourceEvent(e.getValue()[0]);
                        eventType.setCollectionEvent(e.getValue()[1]);
                        eventTypes[count++] = eventType;
                    }
                }
                eventTypeBean.setEventTypes(eventTypes);
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.