mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-06-21 00:05:13 +00:00
Update copyright messages in Java API
This commit is contained in:
@ -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;
|
package org.servalproject.servaldna;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
@ -6,9 +26,6 @@ import java.nio.channels.DatagramChannel;
|
|||||||
import java.nio.channels.SelectableChannel;
|
import java.nio.channels.SelectableChannel;
|
||||||
import java.nio.channels.SelectionKey;
|
import java.nio.channels.SelectionKey;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 8/05/14.
|
|
||||||
*/
|
|
||||||
public abstract class AbstractExternalInterface extends ChannelSelector.Handler {
|
public abstract class AbstractExternalInterface extends ChannelSelector.Handler {
|
||||||
private final ChannelSelector selector;
|
private final ChannelSelector selector;
|
||||||
protected final MdpSocket socket;
|
protected final MdpSocket socket;
|
||||||
|
@ -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;
|
package org.servalproject.servaldna;
|
||||||
|
|
||||||
public abstract class AbstractJniResults implements IJniResults {
|
public abstract class AbstractJniResults implements IJniResults {
|
||||||
|
@ -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;
|
package org.servalproject.servaldna;
|
||||||
|
|
||||||
import org.servalproject.json.JSONInputException;
|
import org.servalproject.json.JSONInputException;
|
||||||
@ -10,9 +31,6 @@ import java.util.ArrayList;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 10/10/16.
|
|
||||||
*/
|
|
||||||
public abstract class AbstractJsonList<T, E extends Exception> {
|
public abstract class AbstractJsonList<T, E extends Exception> {
|
||||||
protected final ServalDHttpConnectionFactory httpConnector;
|
protected final ServalDHttpConnectionFactory httpConnector;
|
||||||
protected final JSONTableScanner table;
|
protected final JSONTableScanner table;
|
||||||
|
@ -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;
|
package org.servalproject.servaldna;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.nio.channels.SelectableChannel;
|
import java.nio.channels.SelectableChannel;
|
||||||
import java.nio.channels.SelectionKey;
|
import java.nio.channels.SelectionKey;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 8/05/14.
|
|
||||||
*/
|
|
||||||
public abstract class AbstractMdpProtocol<T> extends ChannelSelector.Handler {
|
public abstract class AbstractMdpProtocol<T> extends ChannelSelector.Handler {
|
||||||
private final ChannelSelector selector;
|
private final ChannelSelector selector;
|
||||||
protected final MdpSocket socket;
|
protected final MdpSocket socket;
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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;
|
package org.servalproject.servaldna;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
@ -7,9 +28,6 @@ import java.nio.channels.SelectionKey;
|
|||||||
import java.nio.channels.Selector;
|
import java.nio.channels.Selector;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 20/02/14.
|
|
||||||
*/
|
|
||||||
public class ChannelSelector {
|
public class ChannelSelector {
|
||||||
|
|
||||||
public static abstract class Handler{
|
public static abstract class Handler{
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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;
|
package org.servalproject.servaldna;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 4/05/15.
|
|
||||||
*/
|
|
||||||
public interface IJniServer {
|
public interface IJniServer {
|
||||||
long aboutToWait(long now, long nextRun, long nextWake);
|
long aboutToWait(long now, long nextRun, long nextWake);
|
||||||
void wokeUp();
|
void wokeUp();
|
||||||
|
@ -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;
|
package org.servalproject.servaldna;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 21/02/14.
|
|
||||||
*/
|
|
||||||
public class MdpDnaLookup extends AbstractMdpProtocol<ServalDCommand.LookupResult> {
|
public class MdpDnaLookup extends AbstractMdpProtocol<ServalDCommand.LookupResult> {
|
||||||
|
|
||||||
public MdpDnaLookup(ChannelSelector selector, int loopbackMdpPort, AsyncResult<ServalDCommand.LookupResult> results) throws IOException {
|
public MdpDnaLookup(ChannelSelector selector, int loopbackMdpPort, AsyncResult<ServalDCommand.LookupResult> results) throws IOException {
|
||||||
|
@ -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;
|
package org.servalproject.servaldna;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
@ -5,9 +25,6 @@ import java.nio.ByteBuffer;
|
|||||||
import java.nio.ByteOrder;
|
import java.nio.ByteOrder;
|
||||||
import java.nio.channels.DatagramChannel;
|
import java.nio.channels.DatagramChannel;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 17/02/14.
|
|
||||||
*/
|
|
||||||
public class MdpPacket {
|
public class MdpPacket {
|
||||||
private ByteBuffer buff;
|
private ByteBuffer buff;
|
||||||
public ByteBuffer payload;
|
public ByteBuffer payload;
|
||||||
|
@ -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;
|
package org.servalproject.servaldna;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.nio.BufferUnderflowException;
|
import java.nio.BufferUnderflowException;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 10/05/16.
|
|
||||||
*/
|
|
||||||
public class MdpRoutingChanges extends AbstractMdpProtocol<RouteLink>{
|
public class MdpRoutingChanges extends AbstractMdpProtocol<RouteLink>{
|
||||||
|
|
||||||
private static final int MDP_ROUTE_TABLE = 5;
|
private static final int MDP_ROUTE_TABLE = 5;
|
||||||
|
@ -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;
|
package org.servalproject.servaldna;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
@ -5,9 +25,6 @@ import java.io.InputStream;
|
|||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 8/05/14.
|
|
||||||
*/
|
|
||||||
public class MdpServiceLookup extends AbstractMdpProtocol<MdpServiceLookup.ServiceResult> {
|
public class MdpServiceLookup extends AbstractMdpProtocol<MdpServiceLookup.ServiceResult> {
|
||||||
|
|
||||||
public static class ServiceResult extends Properties {
|
public static class ServiceResult extends Properties {
|
||||||
|
@ -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;
|
package org.servalproject.servaldna;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
@ -8,9 +28,6 @@ import java.net.UnknownHostException;
|
|||||||
import java.nio.channels.DatagramChannel;
|
import java.nio.channels.DatagramChannel;
|
||||||
import java.nio.channels.SelectableChannel;
|
import java.nio.channels.SelectableChannel;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 17/02/14.
|
|
||||||
*/
|
|
||||||
public class MdpSocket{
|
public class MdpSocket{
|
||||||
private DatagramChannel channel = null;
|
private DatagramChannel channel = null;
|
||||||
private SubscriberId sid = null;
|
private SubscriberId sid = null;
|
||||||
|
@ -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;
|
package org.servalproject.servaldna;
|
||||||
|
|
||||||
import org.servalproject.servaldna.rhizome.RhizomeIncompleteManifest;
|
import org.servalproject.servaldna.rhizome.RhizomeIncompleteManifest;
|
||||||
@ -11,9 +31,6 @@ import java.io.PrintStream;
|
|||||||
import java.net.HttpURLConnection;
|
import java.net.HttpURLConnection;
|
||||||
import java.net.ProtocolException;
|
import java.net.ProtocolException;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 5/10/16.
|
|
||||||
*/
|
|
||||||
public class PostHelper {
|
public class PostHelper {
|
||||||
private HttpURLConnection conn;
|
private HttpURLConnection conn;
|
||||||
private String boundary;
|
private String boundary;
|
||||||
|
@ -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;
|
package org.servalproject.servaldna;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 20/02/14.
|
|
||||||
*/
|
|
||||||
public class ResultList<T> implements AsyncResult<T> {
|
public class ResultList<T> implements AsyncResult<T> {
|
||||||
private final List<T> results;
|
private final List<T> results;
|
||||||
public ResultList(List<T> results){
|
public ResultList(List<T> results){
|
||||||
|
@ -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;
|
package org.servalproject.servaldna;
|
||||||
|
|
||||||
import java.nio.BufferUnderflowException;
|
import java.nio.BufferUnderflowException;
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 10/05/16.
|
|
||||||
*/
|
|
||||||
public class RouteLink {
|
public class RouteLink {
|
||||||
|
|
||||||
private static final int REACHABLE_SELF = (1<<0);
|
private static final int REACHABLE_SELF = (1<<0);
|
||||||
|
@ -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;
|
package org.servalproject.servaldna;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
import java.security.SecureRandom;
|
import java.security.SecureRandom;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 20/06/14.
|
|
||||||
*/
|
|
||||||
public class ServerControl {
|
public class ServerControl {
|
||||||
private String instancePath;
|
private String instancePath;
|
||||||
private final String execPath;
|
private final String execPath;
|
||||||
|
@ -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;
|
package org.servalproject.servaldna;
|
||||||
|
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 22/06/16.
|
|
||||||
*/
|
|
||||||
public class SigningKey extends AbstractId {
|
public class SigningKey extends AbstractId {
|
||||||
public SigningKey(String hex) throws InvalidHexException {
|
public SigningKey(String hex) throws InvalidHexException {
|
||||||
super(hex);
|
super(hex);
|
||||||
|
@ -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;
|
package org.servalproject.servaldna;
|
||||||
|
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 22/06/16.
|
|
||||||
*/
|
|
||||||
public final class Subscriber {
|
public final class Subscriber {
|
||||||
public final SubscriberId sid;
|
public final SubscriberId sid;
|
||||||
public final SigningKey signingKey;
|
public final SigningKey signingKey;
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
|
* Copyright (C) 2016-2017 Flinders University
|
||||||
* Copyright (C) 2015 Serval Project Inc.
|
* Copyright (C) 2015 Serval Project Inc.
|
||||||
*
|
*
|
||||||
* This file is part of Serval Software (http://www.servalproject.org)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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;
|
package org.servalproject.servaldna.meshmb;
|
||||||
|
|
||||||
import org.servalproject.json.JSONTableScanner;
|
import org.servalproject.json.JSONTableScanner;
|
||||||
@ -11,10 +31,6 @@ import org.servalproject.servaldna.SubscriberId;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 21/03/17.
|
|
||||||
*/
|
|
||||||
|
|
||||||
public class MeshMBActivityList extends AbstractJsonList<MeshMBActivityMessage, IOException> {
|
public class MeshMBActivityList extends AbstractJsonList<MeshMBActivityMessage, IOException> {
|
||||||
private final Subscriber identity;
|
private final Subscriber identity;
|
||||||
private final String token;
|
private final String token;
|
||||||
|
@ -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;
|
package org.servalproject.servaldna.meshmb;
|
||||||
|
|
||||||
import org.servalproject.servaldna.Subscriber;
|
import org.servalproject.servaldna.Subscriber;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 21/03/17.
|
|
||||||
*/
|
|
||||||
|
|
||||||
public class MeshMBActivityMessage implements Comparable<MeshMBActivityMessage>{
|
public class MeshMBActivityMessage implements Comparable<MeshMBActivityMessage>{
|
||||||
public final String token;
|
public final String token;
|
||||||
public final long ack_offset;
|
public final long ack_offset;
|
||||||
|
@ -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;
|
package org.servalproject.servaldna.meshmb;
|
||||||
|
|
||||||
import org.servalproject.servaldna.PostHelper;
|
import org.servalproject.servaldna.PostHelper;
|
||||||
@ -12,9 +32,6 @@ import java.io.IOException;
|
|||||||
import java.net.HttpURLConnection;
|
import java.net.HttpURLConnection;
|
||||||
import java.util.Vector;
|
import java.util.Vector;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 5/10/16.
|
|
||||||
*/
|
|
||||||
public class MeshMBCommon {
|
public class MeshMBCommon {
|
||||||
|
|
||||||
public static final String SERVICE = "MeshMB1";
|
public static final String SERVICE = "MeshMB1";
|
||||||
|
@ -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;
|
package org.servalproject.servaldna.meshmb;
|
||||||
|
|
||||||
import org.servalproject.servaldna.BundleId;
|
import org.servalproject.servaldna.BundleId;
|
||||||
import org.servalproject.servaldna.SigningKey;
|
import org.servalproject.servaldna.SigningKey;
|
||||||
import org.servalproject.servaldna.Subscriber;
|
import org.servalproject.servaldna.Subscriber;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 11/01/17.
|
|
||||||
*/
|
|
||||||
public class MeshMBSubscription {
|
public class MeshMBSubscription {
|
||||||
public final Subscriber subscriber;
|
public final Subscriber subscriber;
|
||||||
public final boolean blocked;
|
public final boolean blocked;
|
||||||
|
@ -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;
|
package org.servalproject.servaldna.meshmb;
|
||||||
|
|
||||||
import org.servalproject.json.JSONTableScanner;
|
import org.servalproject.json.JSONTableScanner;
|
||||||
@ -12,10 +32,6 @@ import org.servalproject.servaldna.SubscriberId;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 11/01/17.
|
|
||||||
*/
|
|
||||||
|
|
||||||
public class MeshMBSubscriptionList extends AbstractJsonList<MeshMBSubscription, IOException> {
|
public class MeshMBSubscriptionList extends AbstractJsonList<MeshMBSubscription, IOException> {
|
||||||
|
|
||||||
public final Subscriber identity;
|
public final Subscriber identity;
|
||||||
|
@ -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;
|
package org.servalproject.servaldna.meshmb;
|
||||||
|
|
||||||
import org.servalproject.json.JSONInputException;
|
import org.servalproject.json.JSONInputException;
|
||||||
@ -11,9 +31,6 @@ import org.servalproject.servaldna.SigningKey;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 10/10/16.
|
|
||||||
*/
|
|
||||||
public class MessagePlyList extends AbstractJsonList<PlyMessage, IOException> {
|
public class MessagePlyList extends AbstractJsonList<PlyMessage, IOException> {
|
||||||
private final SigningKey bundleId;
|
private final SigningKey bundleId;
|
||||||
private final String sinceToken;
|
private final String sinceToken;
|
||||||
|
@ -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;
|
package org.servalproject.servaldna.meshmb;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 10/10/16.
|
|
||||||
*/
|
|
||||||
public class PlyMessage implements Comparable<PlyMessage>{
|
public class PlyMessage implements Comparable<PlyMessage>{
|
||||||
|
|
||||||
public final long _row;
|
public final long _row;
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
|
* Copyright (C) 2016 Flinders University
|
||||||
* Copyright (C) 2014 Serval Project Inc.
|
* Copyright (C) 2014 Serval Project Inc.
|
||||||
*
|
*
|
||||||
* This file is part of Serval Software (http://www.servalproject.org)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
|
* Copyright (C) 2016 Flinders University
|
||||||
* Copyright (C) 2014 Serval Project Inc.
|
* Copyright (C) 2014 Serval Project Inc.
|
||||||
*
|
*
|
||||||
* This file is part of Serval Software (http://www.servalproject.org)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
|
* Copyright (C) 2016-2017 Flinders University
|
||||||
* Copyright (C) 2014 Serval Project Inc.
|
* Copyright (C) 2014 Serval Project Inc.
|
||||||
*
|
*
|
||||||
* This file is part of Serval Software (http://www.servalproject.org)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
|
* Copyright (C) 2016 Flinders University
|
||||||
* Copyright (C) 2014 Serval Project Inc.
|
* Copyright (C) 2014 Serval Project Inc.
|
||||||
*
|
*
|
||||||
* This file is part of Serval Software (http://www.servalproject.org)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
|
* Copyright (C) 2016-2017 Flinders University
|
||||||
* Copyright (C) 2014 Serval Project Inc.
|
* Copyright (C) 2014 Serval Project Inc.
|
||||||
*
|
*
|
||||||
* This file is part of Serval Software (http://www.servalproject.org)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
|
* Copyright (C) 2017 Flinders University
|
||||||
* Copyright (C) 2014 Serval Project Inc.
|
* Copyright (C) 2014 Serval Project Inc.
|
||||||
*
|
*
|
||||||
* This file is part of Serval Software (http://www.servalproject.org)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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;
|
package org.servalproject.servaldna.rhizome;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jeremy on 23/05/17.
|
|
||||||
*/
|
|
||||||
public class RhizomeImportStatus {
|
public class RhizomeImportStatus {
|
||||||
public final RhizomeBundleStatus bundleStatus;
|
public final RhizomeBundleStatus bundleStatus;
|
||||||
public final RhizomePayloadStatus payloadStatus;
|
public final RhizomePayloadStatus payloadStatus;
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
|
* Copyright (C) 2017 Flinders University
|
||||||
* Copyright (C) 2014 Serval Project Inc.
|
* Copyright (C) 2014 Serval Project Inc.
|
||||||
*
|
*
|
||||||
* This file is part of Serval Software (http://www.servalproject.org)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
@ -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)
|
* This file is part of Serval Software (http://www.servalproject.org)
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user