Package de.fu_berlin.inf.dpp.whiteboard.sxe.net

Examples of de.fu_berlin.inf.dpp.whiteboard.sxe.net.SXEMessage


    // receiving automatically removes collector
    Packet packet = transmitter.receive(monitor, collector,
        SXE_TIMEOUT_INTERVAL, true);

    SXEMessage response = ((SXEExtension) packet.getExtension(
        SXEMessage.SXE_TAG, SXEMessage.SXE_XMLNS)).getMessage();
    response.setFrom(msg.getTo());

    return response;
  }
View Full Code Here


  @Override
  public PacketExtension parseExtension(XmlPullParser xpp) throws Exception {

    SXEExtension pe = new SXEExtension();

    SXEMessage message = reader.parseMessage(xpp);

    pe.setMessage(message);

    return pe;
  }
View Full Code Here

    if (!isConnected())
      return;

    try {
      SXEMessage message = session.getNextMessage(SXEMessageType.RECORDS);
      List<RecordDataObject> rdos = SXEUtils.toDataObjects(recordsToSend);
      message.setRecords(rdos);
      transmitter.sendAsync(message);

      fireMessageSent(message);

    } catch (Exception e) {
View Full Code Here

TOP

Related Classes of de.fu_berlin.inf.dpp.whiteboard.sxe.net.SXEMessage

Copyright © 2018 www.massapicom. 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.