Need couple of Simple C++ classes.
$30-100 USD
Bezahlt bei Lieferung
C++ Classes (Can use STL. Don't use any other libraries): Frame Class: • Command String • Body String • Header Items (properties/map like foo=bar,xyz=10 etc) • No-arg Constructor • Constructor with params for command, body etc. • Getters and Setters for above. • toString method() Client Class: • Constructor takes a string (URI) • Opens a connection to the server (socket creation) • Monitor the connection/socket - If the connection gets dropped, it will try to reconnect until it succeeds. • Send Method (takes a Frame object and sends the toString() of the frame to the socket) • Subscribe Method ??" Similar to Send method. Takes a frame and sends the toString() of the frame over a socket to the server. If you want more details: I am trying to implement a simple STOMP client. All it requires is format text in a way mentioned in the specification and send it via a socket to the server. [url removed, login to view] NOTE: If you want I have sample 'C' code. But I want it in C++.
Projekt-ID: #2702565