Public Member Functions
Osp::Social::Services::IBuddyServiceListener Interface Reference
Inheritance diagram for Osp::Social::Services::IBuddyServiceListener:
Osp::Base::Runtime::IEventListener

Deprecated:
This interface is deprecated due to the operation policy of the bada Server.
Since:
1.0

The IBuddyServiceListener interface is for receiving responses to requests, which are initiated from BuddyService. All the member methods defined in BuddyService operate asynchronously. To receive the result of member methods, a class which implements IBuddyServiceListener must be specified.

List of all members.

Public Member Functions

virtual void OnBuddiesInCategoryReceivedN (RequestId reqId, Osp::Base::Collection::IList *pBuddyList, int pageNo, int countPerPage, int totalPageCount, int totalCount, result r, const Osp::Base::String &errorCode, const Osp::Base::String &errorMsg)=0
virtual void OnBuddiesReceivedN (RequestId reqId, Osp::Base::Collection::IList *pBuddyList, int pageNo, int countPerPage, int totalPageCount, int totalCount, result r, const Osp::Base::String &errorCode, const Osp::Base::String &errorMsg)=0
virtual void OnBuddyAddedToCategory (RequestId reqId, result r, const Osp::Base::String &errorCode, const Osp::Base::String &errorMsg)=0
virtual void OnBuddyAttributeUpdated (RequestId reqId, result r, const Osp::Base::String &errorCode, const Osp::Base::String &errorMsg)=0
virtual void OnBuddyCategoriesReceivedN (RequestId reqId, Osp::Base::Collection::IList *pCategoryList, result r, const Osp::Base::String &errorCode, const Osp::Base::String &errorMsg)=0
virtual void OnBuddyCategoryCreated (RequestId reqId, BuddyCategory *pBuddyCategory, result r, const Osp::Base::String &errorCode, const Osp::Base::String &errorMsg)=0
virtual void OnBuddyCategoryDeleted (RequestId reqId, result r, const Osp::Base::String &errorCode, const Osp::Base::String &errorMsg)=0
virtual void OnBuddyCategoryUpdated (RequestId reqId, result r, const Osp::Base::String &errorCode, const Osp::Base::String &errorMsg)=0
virtual void OnBuddyDeleted (RequestId reqId, result r, const Osp::Base::String &errorCode, const Osp::Base::String &errorMsg)=0
virtual void OnBuddyRemovedFromCategory (RequestId reqId, result r, const Osp::Base::String &errorCode, const Osp::Base::String &errorMsg)=0
virtual void OnBuddyRequestSent (RequestId reqId, result r, const Osp::Base::String &errorCode, const Osp::Base::String &errorMsg)=0
virtual void OnBuddyResponseSent (RequestId reqId, result r, const Osp::Base::String &errorCode, const Osp::Base::String &errorMsg)=0
virtual void OnReceivedBuddyRequestsReceivedN (RequestId reqId, Osp::Base::Collection::IList *pRequestList, int pageNo, int countPerPage, int totalPageCount, int totalCount, result r, const Osp::Base::String &errorCode, const Osp::Base::String &errorMsg)=0
virtual void OnReceivedBuddyResponsesDeleted (RequestId reqId, result r, const Osp::Base::String &errorCode, const Osp::Base::String &errorMsg)=0
virtual void OnReceivedBuddyResponsesReceivedN (RequestId reqId, Osp::Base::Collection::IList *pResponseList, int pageNo, int countPerPage, int totalPageCount, int totalCount, result r, const Osp::Base::String &errorCode, const Osp::Base::String &errorMsg)=0
virtual void OnSentBuddyRequestCanceled (RequestId reqId, result r, const Osp::Base::String &errorCode, const Osp::Base::String &errorMsg)=0
virtual void OnSentBuddyRequestsReceivedN (RequestId reqId, Osp::Base::Collection::IList *pRequestList, int pageNo, int countPerPage, int totalPageCount, int totalCount, result r, const Osp::Base::String &errorCode, const Osp::Base::String &errorMsg)=0

Member Function Documentation

virtual void Osp::Social::Services::IBuddyServiceListener::OnBuddiesInCategoryReceivedN ( RequestId  reqId,
Osp::Base::Collection::IList pBuddyList,
int  pageNo,
int  countPerPage,
int  totalPageCount,
int  totalCount,
result  r,
const Osp::Base::String errorCode,
const Osp::Base::String errorMsg 
) [pure virtual]

Called to notify when the response to BuddyService::GetAllBuddiesInCategory() is received. The buddies are sorted in the ascending order of the buddy name.

Deprecated:
This method is deprecated due to the operation policy of the bada Server.
Since:
1.0
Parameters:
[in]reqIdThe ID of the request
[in]pBuddyListThe list of buddies who belong to the category,
else null if an error occurs
An item of this list is an instance of Osp::Social::Services::Buddy.
[in]pageNoThe page number of the resulting list
[in]countPerPageThe maximum count of the result items on a page
[in]totalPageCountThe resulting count of pages from this search
[in]totalCountThe number of results generated by this search
[in]rThe result of the request
[in]errorCodeThe error code from the server
[in]errorMsgThe error message from the server
Exceptions:
E_SUCCESSThe request is successful.
E_SERVERAn error has occurred on the server side.
Please check the errorCode and errorMsg.
E_OUT_OF_MEMORYThe memory is insufficient.
E_CONNECTION_FAILEDThe network connection has failed.
E_PARSING_FAILEDThe response data from the server cannot be parsed.
See also:
BuddyService::GetAllBuddiesInCategory()
virtual void Osp::Social::Services::IBuddyServiceListener::OnBuddiesReceivedN ( RequestId  reqId,
Osp::Base::Collection::IList pBuddyList,
int  pageNo,
int  countPerPage,
int  totalPageCount,
int  totalCount,
result  r,
const Osp::Base::String errorCode,
const Osp::Base::String errorMsg 
) [pure virtual]

Called to notify when the response to BuddyService::GetAllBuddies() or BuddyService::GetBuddiesUsingApp() is received. The buddies are sorted in the ascending order of the buddy name.

Deprecated:
This method is deprecated due to the operation policy of the bada Server.
Since:
1.0
Parameters:
[in]reqIdThe ID of the request
[in]pBuddyListThe list of buddies,
else null if an error occurs
An item of this list is an instance of Osp::Social::Services::Buddy.
[in]pageNoThe page number of the resulting list
[in]countPerPageThe maximum count of the result items on a page
[in]totalPageCountThe resulting count of pages from this search
[in]totalCountThe number of results generated by this search
[in]rThe result of the request
[in]errorCodeThe error code from the server
[in]errorMsgThe error message from the server
Exceptions:
E_SUCCESSThe request is successful.
E_SERVERAn error has occurred on the server side.
Please check the errorCode and errorMsg.
E_OUT_OF_MEMORYThe memory is insufficient.
E_CONNECTION_FAILEDThe network connection has failed.
E_PARSING_FAILEDThe response data from the server cannot be parsed.
See also:
BuddyService::GetAllBuddies(), BuddyService::GetBuddiesUsingApp()
virtual void Osp::Social::Services::IBuddyServiceListener::OnBuddyAddedToCategory ( RequestId  reqId,
result  r,
const Osp::Base::String errorCode,
const Osp::Base::String errorMsg 
) [pure virtual]

Called to notify when the response to BuddyService::AddBuddyToCategory() is received.

Deprecated:
This method is deprecated due to the operation policy of the bada Server.
Since:
1.0
Parameters:
[in]reqIdThe ID of the request
[in]rThe result of the request
[in]errorCodeThe error code from the server
[in]errorMsgThe error message from the server
Exceptions:
E_SUCCESSThe request is successful.
E_SERVERAn error has occurred on the server side.
Please check the errorCode and errorMsg.
E_OUT_OF_MEMORYThe memory is insufficient.
E_CONNECTION_FAILEDThe network connection has failed.
E_PARSING_FAILEDThe response data from the server cannot be parsed.
See also:
BuddyService::AddBuddyToCategory()
virtual void Osp::Social::Services::IBuddyServiceListener::OnBuddyAttributeUpdated ( RequestId  reqId,
result  r,
const Osp::Base::String errorCode,
const Osp::Base::String errorMsg 
) [pure virtual]

Called to notify when the response to BuddyService::UpdateBuddyAttribute() is received.

Deprecated:
This method is deprecated due to the operation policy of the bada Server.
Since:
1.0
Parameters:
[in]reqIdThe ID of the request
[in]rThe result of the request
[in]errorCodeThe error code from the server
[in]errorMsgThe error message from the server
Exceptions:
E_SUCCESSThe request is successful.
E_SERVERAn error has occurred on the server side.
Please check the errorCode and errorMsg.
E_OUT_OF_MEMORYThe memory is insufficient.
E_CONNECTION_FAILEDThe network connection has failed.
E_PARSING_FAILEDThe response data from the server cannot be parsed.
See also:
BuddyService::UpdateBuddyAttribute()
virtual void Osp::Social::Services::IBuddyServiceListener::OnBuddyCategoriesReceivedN ( RequestId  reqId,
Osp::Base::Collection::IList pCategoryList,
result  r,
const Osp::Base::String errorCode,
const Osp::Base::String errorMsg 
) [pure virtual]

Called to notify when the response to BuddyService::GetAllCategories() is received. The categories are sorted in the ascending order of the category name.

Deprecated:
This method is deprecated due to the operation policy of the bada Server.
Since:
1.0
Parameters:
[in]reqIdThe ID of the request
[in]pCategoryListThe list of categories,
else null if an error occurs
An item of this list is an instance of Osp::Social::Services::BuddyCategory.
[in]rThe result of the request
[in]errorCodeThe error code from the server
[in]errorMsgThe error message from the server
Exceptions:
E_SUCCESSThe request is successful.
E_SERVERAn error has occurred on the server side.
Please check the errorCode and errorMsg.
E_OUT_OF_MEMORYThe memory is insufficient.
E_CONNECTION_FAILEDThe network connection has failed.
E_PARSING_FAILEDThe response data from the server cannot be parsed.
See also:
BuddyService::GetAllCategories()
virtual void Osp::Social::Services::IBuddyServiceListener::OnBuddyCategoryCreated ( RequestId  reqId,
BuddyCategory pBuddyCategory,
result  r,
const Osp::Base::String errorCode,
const Osp::Base::String errorMsg 
) [pure virtual]

Called to notify when the response to BuddyService::CreateCategory() is received.

Deprecated:
This method is deprecated due to the operation policy of the bada Server.
Since:
1.0
Parameters:
[in]reqIdThe ID of the request
[in]pBuddyCategoryThe created BuddyCategory,
else null if an error occurs
[in]rThe result of the request
[in]errorCodeThe error code from the server
[in]errorMsgThe error message from the server
Exceptions:
E_SUCCESSThe request is successful.
E_SERVERAn error has occurred on the server side.
Please check the errorCode and errorMsg.
E_OUT_OF_MEMORYThe memory is insufficient.
E_CONNECTION_FAILEDThe network connection has failed.
E_PARSING_FAILEDThe response data from the server cannot be parsed.
See also:
BuddyService::CreateCategory()
virtual void Osp::Social::Services::IBuddyServiceListener::OnBuddyCategoryDeleted ( RequestId  reqId,
result  r,
const Osp::Base::String errorCode,
const Osp::Base::String errorMsg 
) [pure virtual]

Called to notify when the response to BuddyService::DeleteCategory() is received.

Deprecated:
This method is deprecated due to the operation policy of the bada Server.
Since:
1.0
Parameters:
[in]reqIdThe ID of the request
[in]rThe result of the request
[in]errorCodeThe error code from the server
[in]errorMsgThe error message from the server
Exceptions:
E_SUCCESSThe request is successful.
E_SERVERAn error has occurred on the server side.
Please check the errorCode and errorMsg.
E_OUT_OF_MEMORYThe memory is insufficient.
E_CONNECTION_FAILEDThe network connection has failed.
E_PARSING_FAILEDThe response data from the server cannot be parsed.
See also:
BuddyService::DeleteCategory()
virtual void Osp::Social::Services::IBuddyServiceListener::OnBuddyCategoryUpdated ( RequestId  reqId,
result  r,
const Osp::Base::String errorCode,
const Osp::Base::String errorMsg 
) [pure virtual]

Called to notify when the response to BuddyService::UpdateCategory() is received.

Deprecated:
This method is deprecated due to the operation policy of the bada Server.
Since:
1.0
Parameters:
[in]reqIdThe ID of the request
[in]rThe result of the request
[in]errorCodeThe error code from the server
[in]errorMsgThe error message from the server
Exceptions:
E_SUCCESSThe request is successful.
E_SERVERAn error has occurred on the server side.
Please check the errorCode and errorMsg.
E_OUT_OF_MEMORYThe memory is insufficient.
E_CONNECTION_FAILEDThe network connection has failed.
E_PARSING_FAILEDThe response data from the server cannot be parsed.
See also:
BuddyService::UpdateCategory()
virtual void Osp::Social::Services::IBuddyServiceListener::OnBuddyDeleted ( RequestId  reqId,
result  r,
const Osp::Base::String errorCode,
const Osp::Base::String errorMsg 
) [pure virtual]

Called to notify when the response to BuddyService::DeleteBuddy() is received.

Deprecated:
This method is deprecated due to the operation policy of the bada Server.
Since:
1.0
Parameters:
[in]reqIdThe ID of the request
[in]rThe result of the request
[in]errorCodeThe error code from the server
[in]errorMsgThe error message from the server
Exceptions:
E_SUCCESSThe request is successful.
E_SERVERAn error has occurred on the server side.
Please check the errorCode and errorMsg.
E_OUT_OF_MEMORYThe memory is insufficient.
E_CONNECTION_FAILEDThe network connection has failed.
E_PARSING_FAILEDThe response data from the server cannot be parsed.
See also:
BuddyService::DeleteBuddy()
virtual void Osp::Social::Services::IBuddyServiceListener::OnBuddyRemovedFromCategory ( RequestId  reqId,
result  r,
const Osp::Base::String errorCode,
const Osp::Base::String errorMsg 
) [pure virtual]

Called to notify when the response to BuddyService::RemoveBuddyFromCategory() is received.

Deprecated:
This method is deprecated due to the operation policy of the bada Server.
Since:
1.0
Parameters:
[in]reqIdThe ID of the request
[in]rThe result of the request
[in]errorCodeThe error code from the server
[in]errorMsgThe error message from the server
Exceptions:
E_SUCCESSThe request is successful.
E_SERVERAn error has occurred on the server side.
Please check the errorCode and errorMsg.
E_OUT_OF_MEMORYThe memory is insufficient.
E_CONNECTION_FAILEDThe network connection has failed.
E_PARSING_FAILEDThe response data from the server cannot be parsed.
See also:
BuddyService::RemoveBuddyFromCategory()
virtual void Osp::Social::Services::IBuddyServiceListener::OnBuddyRequestSent ( RequestId  reqId,
result  r,
const Osp::Base::String errorCode,
const Osp::Base::String errorMsg 
) [pure virtual]

Called to notify when the response to BuddyService::RequestBuddy() or BuddyService::RequestBuddyByLoginId() is received.

Deprecated:
This method is deprecated due to the operation policy of the bada Server.
Since:
1.0
Parameters:
[in]reqIdThe ID of the request
[in]rThe result of the request
[in]errorCodeThe error code from the server
[in]errorMsgThe error message from the server
Exceptions:
E_SUCCESSThe request is successful.
E_SERVERAn error has occurred on the server side.
Please check the errorCode and errorMsg.
E_OUT_OF_MEMORYThe memory is insufficient.
E_CONNECTION_FAILEDThe network connection has failed.
E_PARSING_FAILEDThe response data from the server cannot be parsed.
See also:
BuddyService::RequestBuddy(), BuddyService::RequestBuddyByLoginId()
virtual void Osp::Social::Services::IBuddyServiceListener::OnBuddyResponseSent ( RequestId  reqId,
result  r,
const Osp::Base::String errorCode,
const Osp::Base::String errorMsg 
) [pure virtual]

Called to notify when the response to BuddyService::RespondToBuddyRequest() is received.

Deprecated:
This method is deprecated due to the operation policy of the bada Server.
Since:
1.0
Parameters:
[in]reqIdThe ID of the request
[in]rThe result of the request
[in]errorCodeThe error code from the server
[in]errorMsgThe error message from the server
Exceptions:
E_SUCCESSThe request is successful.
E_SERVERAn error has occurred on the server side.
Please check the errorCode and errorMsg.
E_OUT_OF_MEMORYThe memory is insufficient.
E_CONNECTION_FAILEDThe network connection has failed.
E_PARSING_FAILEDThe response data from the server cannot be parsed.
See also:
BuddyService::RespondToBuddyRequest()
virtual void Osp::Social::Services::IBuddyServiceListener::OnReceivedBuddyRequestsReceivedN ( RequestId  reqId,
Osp::Base::Collection::IList pRequestList,
int  pageNo,
int  countPerPage,
int  totalPageCount,
int  totalCount,
result  r,
const Osp::Base::String errorCode,
const Osp::Base::String errorMsg 
) [pure virtual]

Called to notify when the response to BuddyService::GetReceivedBuddyRequests() is received. The received buddy requests are sorted in ascending order of the requested date.

Deprecated:
This method is deprecated due to the operation policy of the bada Server.
Since:
1.0
Parameters:
[in]reqIdThe ID of the request
[in]pRequestListThe list of the received request,
else null if an error occurs
An item of this list is an instance of Osp::Social::Services::ReceivedBuddyRequest.
[in]pageNoThe page number of the resulting list
[in]countPerPageThe maximum count of the result items on a page
[in]totalPageCountThe resulting count of pages from this search
[in]totalCountThe number of results generated by this search
[in]rThe result of the request
[in]errorCodeThe error code from the server
[in]errorMsgThe error message from the server
Exceptions:
E_SUCCESSThe request is successful.
E_SERVERAn error has occurred on the server side.
Please check the errorCode and errorMsg.
E_OUT_OF_MEMORYThe memory is insufficient.
E_CONNECTION_FAILEDThe network connection has failed.
E_PARSING_FAILEDThe response data from the server cannot be parsed.
See also:
BuddyService::GetReceivedBuddyRequests()
virtual void Osp::Social::Services::IBuddyServiceListener::OnReceivedBuddyResponsesDeleted ( RequestId  reqId,
result  r,
const Osp::Base::String errorCode,
const Osp::Base::String errorMsg 
) [pure virtual]

Called to notify when the response to BuddyService::DeleteReceivedResponses() is received.

Deprecated:
This method is deprecated due to the operation policy of the bada Server.
Since:
1.0
Parameters:
[in]reqIdThe ID of the request
[in]rThe result of the request
[in]errorCodeThe error code from the server
[in]errorMsgThe error message from the server
Exceptions:
E_SUCCESSThe request is successful.
E_SERVERAn error has occurred on the server side.
Please check the errorCode and errorMsg.
E_OUT_OF_MEMORYThe memory is insufficient.
E_CONNECTION_FAILEDThe network connection has failed.
E_PARSING_FAILEDThe response data from the server cannot be parsed.
See also:
BuddyService::DeleteReceivedResponses()
virtual void Osp::Social::Services::IBuddyServiceListener::OnReceivedBuddyResponsesReceivedN ( RequestId  reqId,
Osp::Base::Collection::IList pResponseList,
int  pageNo,
int  countPerPage,
int  totalPageCount,
int  totalCount,
result  r,
const Osp::Base::String errorCode,
const Osp::Base::String errorMsg 
) [pure virtual]

Called to notify when the response to BuddyService::GetReceivedResponses() is received. The buddy responses are sorted in the ascending order of the requested date.

Deprecated:
This method is deprecated due to the operation policy of the bada Server.
Since:
1.0
Parameters:
[in]reqIdThe ID of the request
[in]pResponseListThe list of the received responses,
else null if an error occurs
An item of this list is an instance of Osp::Social::Services::BuddyResponse.
[in]pageNoThe page number of the resulting list
[in]countPerPageThe maximum count of the result items on a page
[in]totalPageCountThe resulting count of pages from this search
[in]totalCountThe number of results generated by this search
[in]rThe result of the request
[in]errorCodeThe error code from the server
[in]errorMsgThe error message from the server
Exceptions:
E_SUCCESSThe request is successful.
E_SERVERAn error has occurred on the server side.
Please check the errorCode and errorMsg.
E_OUT_OF_MEMORYThe memory is insufficient.
E_CONNECTION_FAILEDThe network connection has failed.
E_PARSING_FAILEDThe response data from the server cannot be parsed.
See also:
BuddyService::GetReceivedResponses()
virtual void Osp::Social::Services::IBuddyServiceListener::OnSentBuddyRequestCanceled ( RequestId  reqId,
result  r,
const Osp::Base::String errorCode,
const Osp::Base::String errorMsg 
) [pure virtual]

Called to notify when the response to BuddyService::CancelSentBuddyRequest() is received.

Deprecated:
This method is deprecated due to the operation policy of the bada Server.
Since:
1.0
Parameters:
[in]reqIdThe ID of the request
[in]rThe result of the request
[in]errorCodeThe error code from the server
[in]errorMsgThe error message from the server
Exceptions:
E_SUCCESSThe request is successful.
E_SERVERAn error has occurred on the server side.
Please check the errorCode and errorMsg.
E_OUT_OF_MEMORYThe memory is insufficient.
E_CONNECTION_FAILEDThe network connection has failed.
E_PARSING_FAILEDThe response data from the server cannot be parsed.
See also:
BuddyService::CancelSentBuddyRequest()
virtual void Osp::Social::Services::IBuddyServiceListener::OnSentBuddyRequestsReceivedN ( RequestId  reqId,
Osp::Base::Collection::IList pRequestList,
int  pageNo,
int  countPerPage,
int  totalPageCount,
int  totalCount,
result  r,
const Osp::Base::String errorCode,
const Osp::Base::String errorMsg 
) [pure virtual]

Called to notify when the response to BuddyService::GetSentBuddyRequests() is received.
The sent buddy requests are sorted in ascending order of the requested date.

Deprecated:
This method is deprecated due to the operation policy of the bada Server.
Since:
1.0
Parameters:
[in]reqIdThe ID of the request
[in]pRequestListThe list of the sent requests,
else null if an error occurs
An item of this list is an instance of Osp::Social::Services::SentBuddyRequest.
[in]pageNoThe page number of the resulting list
[in]countPerPageThe maximum count of the result items on a page
[in]totalPageCountThe resulting count of pages from this search
[in]totalCountThe number of results generated by this search
[in]rThe result of the request
[in]errorCodeThe error code from the server
[in]errorMsgThe error message from the server
Exceptions:
E_SUCCESSThe request is successful.
E_SERVERAn error has occurred on the server side.
Please check the errorCode and errorMsg.
E_OUT_OF_MEMORYThe memory is insufficient.
E_CONNECTION_FAILEDThe network connection has failed.
E_PARSING_FAILEDThe response data from the server cannot be parsed.
See also:
BuddyService::GetSentBuddyRequests()

The documentation for this interface was generated from the following file:

Copyright © 2011 Samsung Electronics Co., Ltd. All rights reserved.