|
|
|
@ -85,7 +85,7 @@ namespace stream
@@ -85,7 +85,7 @@ namespace stream
|
|
|
|
|
|
|
|
|
|
enum StreamStatus |
|
|
|
|
{ |
|
|
|
|
eStreamStatusNew, |
|
|
|
|
eStreamStatusNew = 0, |
|
|
|
|
eStreamStatusOpen, |
|
|
|
|
eStreamStatusReset, |
|
|
|
|
eStreamStatusClosing, |
|
|
|
@ -110,6 +110,7 @@ namespace stream
@@ -110,6 +110,7 @@ namespace stream
|
|
|
|
|
const i2p::data::IdentityEx& GetRemoteIdentity () const { return m_RemoteIdentity; }; |
|
|
|
|
bool IsOpen () const { return m_Status == eStreamStatusOpen; }; |
|
|
|
|
bool IsEstablished () const { return m_SendStreamID; }; |
|
|
|
|
StreamStatus GetStatus () const { return m_Status; }; |
|
|
|
|
StreamingDestination& GetLocalDestination () { return m_LocalDestination; }; |
|
|
|
|
|
|
|
|
|
void HandleNextPacket (Packet * packet); |
|
|
|
|