Allow sync interest lifetime to be set from socket
refs: #4490
Change-Id: Ic4a0cb78036d3e7e997e08c5bfad0a8fd2d9749f
diff --git a/src/socket.hpp b/src/socket.hpp
index 94ba109..b7b0858 100644
--- a/src/socket.hpp
+++ b/src/socket.hpp
@@ -1,6 +1,6 @@
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */
/*
- * Copyright (c) 2012-2017 University of California, Los Angeles
+ * Copyright (c) 2012-2018 University of California, Los Angeles
*
* This file is part of ChronoSync, synchronization library for distributed realtime
* applications for NDN.
@@ -64,7 +64,8 @@
ndn::Face& face,
const UpdateCallback& updateCallback,
const Name& signingId = DEFAULT_NAME,
- std::shared_ptr<Validator> validator = DEFAULT_VALIDATOR);
+ std::shared_ptr<Validator> validator = DEFAULT_VALIDATOR,
+ const time::milliseconds& syncInterestLifetime = Logic::DEFAULT_SYNC_INTEREST_LIFETIME);
~Socket();