face+table: move EndpointId typedef out of Transport and use it in table
refs: #4843
Change-Id: I2b200518a57b21d66eae4360166afda31c3bf11b
diff --git a/daemon/face/transport.hpp b/daemon/face/transport.hpp
index 3f00424..8bbfe86 100644
--- a/daemon/face/transport.hpp
+++ b/daemon/face/transport.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2018, Regents of the University of California,
+ * Copyright (c) 2014-2019, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -37,6 +37,10 @@
class Face;
class LinkService;
+/** \brief identifies an endpoint on the link
+ */
+typedef uint64_t EndpointId;
+
/** \brief indicates the state of a transport
*/
enum class TransportState {
@@ -113,10 +117,6 @@
class Transport : protected virtual TransportCounters, noncopyable
{
public:
- /** \brief identifies an endpoint on the link
- */
- typedef uint64_t EndpointId;
-
/** \brief stores a packet along with the remote endpoint
*/
class Packet