Plumb in the RetrieveInstantMessages event that is sent by the viewer
when it is ready to receive offline IMGenericGridServerConcept
parent
18382ebfd9
commit
ed2de7ac82
|
@ -1082,6 +1082,8 @@ namespace OpenSim.Client.MXP.ClientStack
|
|||
public event Action<IClientAPI> OnLogout;
|
||||
public event Action<IClientAPI> OnConnectionClosed;
|
||||
|
||||
public event RetrieveInstantMessages OnRetrieveInstantMessages;
|
||||
|
||||
|
||||
public void SendBlueBoxMessage(UUID FromAvatarID, string FromAvatarName, string Message)
|
||||
{
|
||||
|
|
|
@ -426,6 +426,7 @@ namespace OpenSim.Framework
|
|||
|
||||
public delegate void UserInfoRequest(IClientAPI client);
|
||||
public delegate void UpdateUserInfo(bool imViaEmail, bool visible, IClientAPI client);
|
||||
public delegate void RetrieveInstantMessages(IClientAPI client);
|
||||
|
||||
#endregion
|
||||
|
||||
|
@ -753,6 +754,8 @@ namespace OpenSim.Framework
|
|||
event UserInfoRequest OnUserInfoRequest;
|
||||
event UpdateUserInfo OnUpdateUserInfo;
|
||||
|
||||
event RetrieveInstantMessages OnRetrieveInstantMessages;
|
||||
|
||||
/// <summary>
|
||||
/// Set the debug level at which packet output should be printed to console.
|
||||
/// </summary>
|
||||
|
|
|
@ -292,6 +292,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
private UserInfoRequest handlerUserInfoRequest;
|
||||
private UpdateUserInfo handlerUpdateUserInfo;
|
||||
|
||||
private RetrieveInstantMessages handlerRetrieveInstantMessages;
|
||||
|
||||
private readonly IGroupsModule m_GroupsModule;
|
||||
|
||||
//private TerrainUnacked handlerUnackedTerrain = null;
|
||||
|
@ -1075,6 +1077,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
public event UserInfoRequest OnUserInfoRequest;
|
||||
public event UpdateUserInfo OnUpdateUserInfo;
|
||||
|
||||
public event RetrieveInstantMessages OnRetrieveInstantMessages;
|
||||
|
||||
public void ActivateGesture(UUID assetId, UUID gestureId)
|
||||
{
|
||||
}
|
||||
|
@ -7433,6 +7437,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
eventNotificationRemove.EventData.EventID, this);
|
||||
break;
|
||||
|
||||
case PacketType.RetrieveInstantMessages:
|
||||
handlerRetrieveInstantMessages = OnRetrieveInstantMessages;
|
||||
if (handlerRetrieveInstantMessages != null)
|
||||
handlerRetrieveInstantMessages(this);
|
||||
break;
|
||||
|
||||
default:
|
||||
m_log.Warn("[CLIENT]: unhandled packet " + Pack);
|
||||
break;
|
||||
|
|
|
@ -253,6 +253,8 @@ namespace OpenSim.Region.Examples.SimpleModule
|
|||
public event UserInfoRequest OnUserInfoRequest;
|
||||
public event UpdateUserInfo OnUpdateUserInfo;
|
||||
|
||||
public event RetrieveInstantMessages OnRetrieveInstantMessages;
|
||||
|
||||
#pragma warning restore 67
|
||||
|
||||
private UUID myID = UUID.Random();
|
||||
|
|
|
@ -359,6 +359,8 @@ namespace OpenSim.Region.OptionalModules.World.NPC
|
|||
public event UserInfoRequest OnUserInfoRequest;
|
||||
public event UpdateUserInfo OnUpdateUserInfo;
|
||||
|
||||
public event RetrieveInstantMessages OnRetrieveInstantMessages;
|
||||
|
||||
#pragma warning restore 67
|
||||
|
||||
#endregion
|
||||
|
|
|
@ -264,6 +264,8 @@ namespace OpenSim.Tests.Common.Mock
|
|||
public event UserInfoRequest OnUserInfoRequest;
|
||||
public event UpdateUserInfo OnUpdateUserInfo;
|
||||
|
||||
public event RetrieveInstantMessages OnRetrieveInstantMessages;
|
||||
|
||||
#pragma warning restore 67
|
||||
|
||||
/// <value>
|
||||
|
|
Loading…
Reference in New Issue