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