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