Update copyright messages in Java API

This commit is contained in:
Andrew Bettison 2017-09-11 11:39:44 +09:30
parent 1c543f3c41
commit 9ba74c6767
65 changed files with 556 additions and 107 deletions

View File

@ -1,3 +1,23 @@
/**
* Copyright (C) 2014-2015 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna;
import java.io.IOException;
@ -6,9 +26,6 @@ import java.nio.channels.DatagramChannel;
import java.nio.channels.SelectableChannel;
import java.nio.channels.SelectionKey;
/**
* Created by jeremy on 8/05/14.
*/
public abstract class AbstractExternalInterface extends ChannelSelector.Handler {
private final ChannelSelector selector;
protected final MdpSocket socket;

View File

@ -1,3 +1,24 @@
/**
* Copyright (C) 2016 Flinders University
* Copyright (C) 2014-2015 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna;
public abstract class AbstractJniResults implements IJniResults {

View File

@ -1,3 +1,24 @@
/**
* Copyright (C) 2016 Flinders University
* Copyright (C) 2014-2015 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna;
import org.servalproject.json.JSONInputException;
@ -10,9 +31,6 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Map;
/**
* Created by jeremy on 10/10/16.
*/
public abstract class AbstractJsonList<T, E extends Exception> {
protected final ServalDHttpConnectionFactory httpConnector;
protected final JSONTableScanner table;

View File

@ -1,12 +1,30 @@
/**
* Copyright (C) 2016 Flinders University
* Copyright (C) 2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna;
import java.io.IOException;
import java.nio.channels.SelectableChannel;
import java.nio.channels.SelectionKey;
/**
* Created by jeremy on 8/05/14.
*/
public abstract class AbstractMdpProtocol<T> extends ChannelSelector.Handler {
private final ChannelSelector selector;
protected final MdpSocket socket;

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2011 The Serval Project
* Copyright (C) 2011-2014 The Serval Project
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,6 @@
/**
* Copyright (C) 2011 The Serval Project
* Copyright (C) 2016 Flinders University
* Copyright (C) 2011-2015 The Serval Project
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,6 @@
/**
* Copyright (C) 2011 The Serval Project
* Copyright (C) 2016 Flinders University
* Copyright (C) 2011-2014 The Serval Project
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,6 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2016 Flinders University
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,3 +1,24 @@
/**
* Copyright (C) 2016 Flinders University
* Copyright (C) 2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna;
import java.io.IOException;
@ -7,9 +28,6 @@ import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.util.Iterator;
/**
* Created by jeremy on 20/02/14.
*/
public class ChannelSelector {
public static abstract class Handler{

View File

@ -1,5 +1,6 @@
/**
* Copyright (C) 2012 Serval Project, Inc.
* Copyright (C) 2016 Flinders University
* Copyright (C) 2012-2014 Serval Project, Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,8 +1,25 @@
/**
* Copyright (C) 2015 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna;
/**
* Created by jeremy on 4/05/15.
*/
public interface IJniServer {
long aboutToWait(long now, long nextRun, long nextWake);
void wokeUp();

View File

@ -1,10 +1,27 @@
/**
* Copyright (C) 2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna;
import java.io.IOException;
/**
* Created by jeremy on 21/02/14.
*/
public class MdpDnaLookup extends AbstractMdpProtocol<ServalDCommand.LookupResult> {
public MdpDnaLookup(ChannelSelector selector, int loopbackMdpPort, AsyncResult<ServalDCommand.LookupResult> results) throws IOException {

View File

@ -1,3 +1,23 @@
/**
* Copyright (C) 2014-2015 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna;
import java.io.IOException;
@ -5,9 +25,6 @@ import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.channels.DatagramChannel;
/**
* Created by jeremy on 17/02/14.
*/
public class MdpPacket {
private ByteBuffer buff;
public ByteBuffer payload;

View File

@ -1,11 +1,28 @@
/**
* Copyright (C) 2016 Flinders University
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna;
import java.io.IOException;
import java.nio.BufferUnderflowException;
/**
* Created by jeremy on 10/05/16.
*/
public class MdpRoutingChanges extends AbstractMdpProtocol<RouteLink>{
private static final int MDP_ROUTE_TABLE = 5;

View File

@ -1,3 +1,23 @@
/**
* Copyright (C) 2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna;
import java.io.IOException;
@ -5,9 +25,6 @@ import java.io.InputStream;
import java.nio.ByteBuffer;
import java.util.Properties;
/**
* Created by jeremy on 8/05/14.
*/
public class MdpServiceLookup extends AbstractMdpProtocol<MdpServiceLookup.ServiceResult> {
public static class ServiceResult extends Properties {

View File

@ -1,3 +1,23 @@
/**
* Copyright (C) 2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna;
import java.io.IOException;
@ -8,9 +28,6 @@ import java.net.UnknownHostException;
import java.nio.channels.DatagramChannel;
import java.nio.channels.SelectableChannel;
/**
* Created by jeremy on 17/02/14.
*/
public class MdpSocket{
private DatagramChannel channel = null;
private SubscriberId sid = null;

View File

@ -1,3 +1,23 @@
/**
* Copyright (C) 2016-2017 Flinders University
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna;
import org.servalproject.servaldna.rhizome.RhizomeIncompleteManifest;
@ -11,9 +31,6 @@ import java.io.PrintStream;
import java.net.HttpURLConnection;
import java.net.ProtocolException;
/**
* Created by jeremy on 5/10/16.
*/
public class PostHelper {
private HttpURLConnection conn;
private String boundary;

View File

@ -1,10 +1,27 @@
/**
* Copyright (C) 2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna;
import java.util.List;
/**
* Created by jeremy on 20/02/14.
*/
public class ResultList<T> implements AsyncResult<T> {
private final List<T> results;
public ResultList(List<T> results){

View File

@ -1,11 +1,28 @@
/**
* Copyright (C) 2016 Flinders University
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna;
import java.nio.BufferUnderflowException;
import java.nio.ByteBuffer;
/**
* Created by jeremy on 10/05/16.
*/
public class RouteLink {
private static final int REACHABLE_SELF = (1<<0);

View File

@ -1,12 +1,30 @@
/**
* Copyright (C) 2016 Flinders University
* Copyright (C) 2014-2015 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna;
import java.io.IOException;
import java.math.BigInteger;
import java.security.SecureRandom;
/**
* Created by jeremy on 20/06/14.
*/
public class ServerControl {
private String instancePath;
private final String execPath;

View File

@ -1,10 +1,27 @@
/**
* Copyright (C) 2016 Flinders University
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna;
import java.nio.ByteBuffer;
/**
* Created by jeremy on 22/06/16.
*/
public class SigningKey extends AbstractId {
public SigningKey(String hex) throws InvalidHexException {
super(hex);

View File

@ -1,10 +1,27 @@
/**
* Copyright (C) 2016-2017 Flinders University
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna;
import java.nio.ByteBuffer;
/**
* Created by jeremy on 22/06/16.
*/
public final class Subscriber {
public final SubscriberId sid;
public final SigningKey signingKey;

View File

@ -1,4 +1,5 @@
/**
* Copyright (C) 2016-2017 Flinders University
* Copyright (C) 2015 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)

View File

@ -1,5 +1,6 @@
/**
* Copyright (C) 2015 Serval Project Inc.
* Copyright (C) 2016 Flinders University
* Copyright (C) 2012-2015 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,6 @@
/**
* Copyright (C) 2015 Serval Project Inc.
* Copyright (C) 2016 Flinders University
* Copyright (C) 2014-2015 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,3 +1,23 @@
/**
* Copyright (C) 2017 Flinders University
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna.meshmb;
import org.servalproject.json.JSONTableScanner;
@ -11,10 +31,6 @@ import org.servalproject.servaldna.SubscriberId;
import java.io.IOException;
import java.util.Map;
/**
* Created by jeremy on 21/03/17.
*/
public class MeshMBActivityList extends AbstractJsonList<MeshMBActivityMessage, IOException> {
private final Subscriber identity;
private final String token;

View File

@ -1,13 +1,29 @@
/**
* Copyright (C) 2017 Flinders University
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna.meshmb;
import org.servalproject.servaldna.Subscriber;
import java.util.Date;
/**
* Created by jeremy on 21/03/17.
*/
public class MeshMBActivityMessage implements Comparable<MeshMBActivityMessage>{
public final String token;
public final long ack_offset;

View File

@ -1,3 +1,23 @@
/**
* Copyright (C) 2016-2017 Flinders University
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna.meshmb;
import org.servalproject.servaldna.PostHelper;
@ -12,9 +32,6 @@ import java.io.IOException;
import java.net.HttpURLConnection;
import java.util.Vector;
/**
* Created by jeremy on 5/10/16.
*/
public class MeshMBCommon {
public static final String SERVICE = "MeshMB1";

View File

@ -1,12 +1,29 @@
/**
* Copyright (C) 2017 Flinders University
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna.meshmb;
import org.servalproject.servaldna.BundleId;
import org.servalproject.servaldna.SigningKey;
import org.servalproject.servaldna.Subscriber;
/**
* Created by jeremy on 11/01/17.
*/
public class MeshMBSubscription {
public final Subscriber subscriber;
public final boolean blocked;

View File

@ -1,3 +1,23 @@
/**
* Copyright (C) 2017 Flinders University
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna.meshmb;
import org.servalproject.json.JSONTableScanner;
@ -12,10 +32,6 @@ import org.servalproject.servaldna.SubscriberId;
import java.io.IOException;
import java.util.Map;
/**
* Created by jeremy on 11/01/17.
*/
public class MeshMBSubscriptionList extends AbstractJsonList<MeshMBSubscription, IOException> {
public final Subscriber identity;

View File

@ -1,3 +1,23 @@
/**
* Copyright (C) 2016 Flinders University
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna.meshmb;
import org.servalproject.json.JSONInputException;
@ -11,9 +31,6 @@ import org.servalproject.servaldna.SigningKey;
import java.io.IOException;
import java.util.Map;
/**
* Created by jeremy on 10/10/16.
*/
public class MessagePlyList extends AbstractJsonList<PlyMessage, IOException> {
private final SigningKey bundleId;
private final String sinceToken;

View File

@ -1,10 +1,27 @@
/**
* Copyright (C) 2016-2017 Flinders University
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna.meshmb;
import java.util.Date;
/**
* Created by jeremy on 10/10/16.
*/
public class PlyMessage implements Comparable<PlyMessage>{
public final long _row;

View File

@ -1,4 +1,5 @@
/**
* Copyright (C) 2016 Flinders University
* Copyright (C) 2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)

View File

@ -1,5 +1,6 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2016 Flinders University
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,4 +1,5 @@
/**
* Copyright (C) 2016 Flinders University
* Copyright (C) 2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2015 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,4 +1,5 @@
/**
* Copyright (C) 2016-2017 Flinders University
* Copyright (C) 2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)

View File

@ -1,4 +1,5 @@
/**
* Copyright (C) 2016 Flinders University
* Copyright (C) 2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,4 +1,5 @@
/**
* Copyright (C) 2016-2017 Flinders University
* Copyright (C) 2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)

View File

@ -1,4 +1,5 @@
/**
* Copyright (C) 2017 Flinders University
* Copyright (C) 2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)

View File

@ -1,5 +1,6 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2016-2017 Flinders University
* Copyright (C) 2014-2015 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,8 +1,25 @@
/**
* Copyright (C) 2017 Flinders University
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This source code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this source code; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.servalproject.servaldna.rhizome;
/**
* Created by jeremy on 23/05/17.
*/
public class RhizomeImportStatus {
public final RhizomeBundleStatus bundleStatus;
public final RhizomePayloadStatus payloadStatus;

View File

@ -1,5 +1,6 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2016 Flinders University
* Copyright (C) 2014-2015 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,6 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2017 Flinders University
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,6 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2016 Flinders University
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,4 +1,5 @@
/**
* Copyright (C) 2017 Flinders University
* Copyright (C) 2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014 Serval Project Inc.
* Copyright (C) 2012-2014 Serval Project Inc.
*
* This file is part of Serval Software (http://www.servalproject.org)
*