54 void acceptIncommingConnectionRequests();
75 virtual bool jumpToFrame(
agx::UInt frameIndex);
82 size_t sumBufferSizes(agxJson::Value& header);
83 void readPadding(
size_t padding);
87 agxJson::Value m_nextHeader;
#define AGX_DECLARE_POINTER_TYPES(type)
The FrameReader reads frames from an external source.
The FrameWriter writes frames to an external target.
a structure which holds IP address
TcpSocketFrameReader(agxNet::TCPSocket *socket)
virtual agxData::Frame * readFrame()
Reads the next frame from the stream and moves the stream forward one frame.
virtual bool jumpToFrame(agx::UInt frameIndex)
Select which frame that should be returned by the next call to 'readFrame'.
virtual ~TcpSocketFrameReader()
TcpSocketFrameReader(agxNet::IPAddress address)
virtual ~TcpSocketFrameWriter()
agx::UInt16 getPort() const
TcpSocketFrameWriter(agx::UInt16 port)
Use this constructor when you want the TcpSocketFrameWriter to open a server socket.
TcpSocketFrameWriter(agxNet::TCPSocket *socket)
virtual void endOfStream()
virtual void writeFrame(const agxData::Frame *frame)
Containins classes for sending/reading data over sockets as well as compression functionality.