All Classes Functions Variables Typedefs Friends Pages
INetworkManager.h
1 //------------------------------------------------------------------------------
2 //
3 // Copyright (c) 2012 Glympse Inc. All rights reserved.
4 //
5 //------------------------------------------------------------------------------
6 
7 #ifndef INETWORKMANAGER_H__GLYMPSE__
8 #define INETWORKMANAGER_H__GLYMPSE__
9 
10 namespace Glympse
11 {
12 
17 /*O*public**/ struct INetworkManager : public IEventSink
18 {
22  public: virtual bool isInitialDataReceived() = 0;
23 
27  public: virtual bool isNetworkError() = 0;
28 
32  public: virtual int32 getPushAvailability() = 0;
33 
44  public: virtual bool issueHttpRequest(const GPrimitive& request) = 0;
45 };
46 
48 
49 }
50 
51 #endif // !INETWORKMANAGER_H__GLYMPSE__