[sc-gsoc-students] [sip-comm-dev] - MSRP Library - Implementing send of files and messages in SC via SIP - Request for FEEDBACK


#1

Hi fellow devs and GSoCers in general and Anthony Schmitt in particular :slight_smile: !

So, a little of what i'm doing:

I'm implementing the MSRP (Message Session Relay Protocol) protocol
stack which basically it's a protocol that is designed to be used by
SIP (and eventually other protocols) to transfer messages (messages in
the larger sense).

Basicly, for SIP-Communicator, this means transfer of files via SIP,
or even simple messages (although my focus should be on the first one,
for now :)). I'm doing the message class in such a way that it could
be anything, from a simple text message to a whole file.

For callbacks between my library and SC i figured these functions are needed:

void receiveMessage(Session session, Message message);

void receivedReport(Session session, Message message);

聽聽聽聽/**
聽聽聽聽聽* Used by the stack to notify the using app of updates on the
聽聽聽聽聽* sending status of a message. The granularity of such updates
聽聽聽聽聽* can be set by changing some parameters associated with the session

路路路

*
聽聽聽聽聽* @param session
聽聽聽聽聽* @param message
聽聽聽聽聽*/
void updateSendStatus(Session session, Message message);

To clarify: a report is what the protocol uses to send a final status
of a completely received message.
And the updateSendStatus it's a function i figured it would be useful
for the progress bar when sending a file as you have in MSN messenger
for instance.

I haven't had the time yet to look extensively to the Sip
Communicator, but i figured these are all the functions that are
needed to do the callbacks and that are enough to work with the Sip
Communicator.

Now, any kind of feedback on the above, comments, directions, but
essentially functions that simply are missing so that the SC and the
MSRP can work are welcome.

Thanks in advance for the feedback,
Sincerely,
Jo茫o Antunes

---------------------------------------------------------------------
To unsubscribe, e-mail: gsoc-students-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: gsoc-students-help@sip-communicator.dev.java.net


#2

Hi fellow devs and GSoCers in general and Anthony Schmitt in particular :slight_smile: !

So, a little of what i'm doing:

I'm implementing the MSRP (Message Session Relay Protocol) protocol
stack which basically it's a protocol that is designed to be used by
SIP (and eventually other protocols) to transfer messages (messages in
the larger sense).

Basicly, for SIP-Communicator, this means transfer of files via SIP,
or even simple messages (although my focus should be on the first one,
for now :)). I'm doing the message class in such a way that it could
be anything, from a simple text message to a whole file.

For callbacks between my library and SC i figured these functions are needed:

void receiveMessage(Session session, Message message);

void receivedReport(Session session, Message message);

聽聽聽/**
聽聽聽聽* Used by the stack to notify the using app of updates on the
聽聽聽聽* sending status of a message. The granularity of such updates
聽聽聽聽* can be set by changing some parameters associated with the session

路路路

*
聽聽聽聽* @param session
聽聽聽聽* @param message
聽聽聽聽*/
void updateSendStatus(Session session, Message message);

To clarify: a report is what the protocol uses to send a final status
of a completely received message.
And the updateSendStatus it's a function i figured it would be useful
for the progress bar when sending a file as you have in MSN messenger
for instance.

I haven't had the time yet to look extensively to the Sip
Communicator, but i figured these are all the functions that are
needed to do the callbacks and that are enough to work with the Sip
Communicator.

Now, any kind of feedback on the above, comments, directions, but
essentially functions that simply are missing so that the SC and the
MSRP can work are welcome.

Thanks in advance for the feedback,
Sincerely,
Jo茫o Antunes

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net