Package org.servalproject.servaldna

Examples of org.servalproject.servaldna.BundleKey


    long version = headerUnsignedLong(conn, "Serval-Rhizome-Bundle-Version");
    long filesize = headerUnsignedLong(conn, "Serval-Rhizome-Bundle-Filesize");
    FileHash filehash = filesize == 0 ? null : header(conn, "Serval-Rhizome-Bundle-Filehash", FileHash.class);
    SubscriberId sender = headerOrNull(conn, "Serval-Rhizome-Bundle-Sender", SubscriberId.class);
    SubscriberId recipient = headerOrNull(conn, "Serval-Rhizome-Bundle-Recipient", SubscriberId.class);
    BundleKey BK = headerOrNull(conn, "Serval-Rhizome-Bundle-BK", BundleKey.class);
    Integer crypt = headerIntegerOrNull(conn, "Serval-Rhizome-Bundle-Crypt");
    Long tail = headerUnsignedLongOrNull(conn, "Serval-Rhizome-Bundle-Tail");
    Long date = headerUnsignedLongOrNull(conn, "Serval-Rhizome-Bundle-Date");
    String service = conn.getHeaderField("Serval-Rhizome-Bundle-Service");
    String name = headerQuotedStringOrNull(conn, "Serval-Rhizome-Bundle-Name");
View Full Code Here


            else if (fieldName.equals("sender"))
              this.sender = parseField(this.sender, new SubscriberId(fieldValue));
            else if (fieldName.equals("recipient"))
              this.recipient = parseField(this.recipient, new SubscriberId(fieldValue));
            else if (fieldName.equals("BK"))
              this.BK = parseField(this.BK, new BundleKey(fieldValue));
            else if (fieldName.equals("crypt"))
              this.crypt = parseField(this.crypt, Integer.parseInt(fieldValue));
            else if (fieldName.equals("tail"))
              this.tail = parseField(this.tail, parseUnsignedLong(fieldValue));
            else if (fieldName.equals("date"))
View Full Code Here

TOP

Related Classes of org.servalproject.servaldna.BundleKey

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.