diff options
author | Melanie Thielker | 2008-07-22 17:58:42 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-07-22 17:58:42 +0000 |
commit | f112cebde2c1bc06108839acac82bc8addd7c506 (patch) | |
tree | 7f1e7fabf2fec74171d5982f09d847b47e20d7ca /OpenSim/Framework/IClientAPI.cs | |
parent | * refactor: move new inventory service call by user server to OGS1 with all t... (diff) | |
download | opensim-SC-f112cebde2c1bc06108839acac82bc8addd7c506.zip opensim-SC-f112cebde2c1bc06108839acac82bc8addd7c506.tar.gz opensim-SC-f112cebde2c1bc06108839acac82bc8addd7c506.tar.bz2 opensim-SC-f112cebde2c1bc06108839acac82bc8addd7c506.tar.xz |
Refactor the packet scheduling out of ClientView. Add intelligent
resending, timeouts, packet discarding. Add notification event for
packet discarding. Add priority scheduling for packet queues.
Add outgoing duplicate detection facility. Correct packet sequencing.
Make provisions for automatic server side throttle adjustments (comes
in next installment)
Diffstat (limited to 'OpenSim/Framework/IClientAPI.cs')
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index a835598..b1f62f1 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -254,8 +254,6 @@ namespace OpenSim.Framework | |||
254 | 254 | ||
255 | public delegate void FriendshipTermination(IClientAPI remoteClient, LLUUID agentID, LLUUID ExID); | 255 | public delegate void FriendshipTermination(IClientAPI remoteClient, LLUUID agentID, LLUUID ExID); |
256 | 256 | ||
257 | public delegate void PacketStats(int inPackets, int outPackets, int unAckedBytes); | ||
258 | |||
259 | public delegate void MoneyTransferRequest(LLUUID sourceID, LLUUID destID, int amount, int transactionType, string description); | 257 | public delegate void MoneyTransferRequest(LLUUID sourceID, LLUUID destID, int amount, int transactionType, string description); |
260 | 258 | ||
261 | public delegate void ParcelBuy(LLUUID agentId, LLUUID groupId, bool final, bool groupOwned, | 259 | public delegate void ParcelBuy(LLUUID agentId, LLUUID groupId, bool final, bool groupOwned, |
@@ -324,6 +322,8 @@ namespace OpenSim.Framework | |||
324 | 322 | ||
325 | string LastName { get; } | 323 | string LastName { get; } |
326 | 324 | ||
325 | IScene Scene { get; } | ||
326 | |||
327 | // [Obsolete("LLClientView Specific - Replace with ???")] | 327 | // [Obsolete("LLClientView Specific - Replace with ???")] |
328 | int NextAnimationSequenceNumber { get; } | 328 | int NextAnimationSequenceNumber { get; } |
329 | 329 | ||
@@ -460,7 +460,6 @@ namespace OpenSim.Framework | |||
460 | event FriendActionDelegate OnApproveFriendRequest; | 460 | event FriendActionDelegate OnApproveFriendRequest; |
461 | event FriendActionDelegate OnDenyFriendRequest; | 461 | event FriendActionDelegate OnDenyFriendRequest; |
462 | event FriendshipTermination OnTerminateFriendship; | 462 | event FriendshipTermination OnTerminateFriendship; |
463 | event PacketStats OnPacketStats; | ||
464 | 463 | ||
465 | // Financial packets | 464 | // Financial packets |
466 | event MoneyTransferRequest OnMoneyTransferRequest; | 465 | event MoneyTransferRequest OnMoneyTransferRequest; |
@@ -526,7 +525,6 @@ namespace OpenSim.Framework | |||
526 | 525 | ||
527 | void SendLayerData(float[] map); | 526 | void SendLayerData(float[] map); |
528 | void SendLayerData(int px, int py, float[] map); | 527 | void SendLayerData(int px, int py, float[] map); |
529 | void SendLayerData(int px, int py, float[] map, bool track); | ||
530 | 528 | ||
531 | void MoveAgentIntoRegion(RegionInfo regInfo, LLVector3 pos, LLVector3 look); | 529 | void MoveAgentIntoRegion(RegionInfo regInfo, LLVector3 pos, LLVector3 look); |
532 | void InformClientOfNeighbour(ulong neighbourHandle, IPEndPoint neighbourExternalEndPoint); | 530 | void InformClientOfNeighbour(ulong neighbourHandle, IPEndPoint neighbourExternalEndPoint); |
@@ -561,13 +559,14 @@ namespace OpenSim.Framework | |||
561 | LLVector3 pos, LLVector3 vel, LLVector3 acc, LLQuaternion rotation, LLVector3 rvel, | 559 | LLVector3 pos, LLVector3 vel, LLVector3 acc, LLQuaternion rotation, LLVector3 rvel, |
562 | uint flags, | 560 | uint flags, |
563 | LLUUID objectID, LLUUID ownerID, string text, byte[] color, uint parentID, byte[] particleSystem, | 561 | LLUUID objectID, LLUUID ownerID, string text, byte[] color, uint parentID, byte[] particleSystem, |
564 | byte clickAction, byte[] textureanim, bool attachment, uint AttachPoint, LLUUID AssetId, LLUUID SoundId, double SoundVolume, byte SoundFlags, double SoundRadius, bool track); | 562 | byte clickAction, byte[] textureanim, bool attachment, uint AttachPoint, LLUUID AssetId, LLUUID SoundId, double SoundVolume, byte SoundFlags, double SoundRadius); |
565 | 563 | ||
566 | 564 | ||
567 | void SendPrimitiveToClient(ulong regionHandle, ushort timeDilation, uint localID, PrimitiveBaseShape primShape, | 565 | void SendPrimitiveToClient(ulong regionHandle, ushort timeDilation, uint localID, PrimitiveBaseShape primShape, |
568 | LLVector3 pos, LLVector3 vel, LLVector3 acc, LLQuaternion rotation, LLVector3 rvel, | 566 | LLVector3 pos, LLVector3 vel, LLVector3 acc, LLQuaternion rotation, LLVector3 rvel, |
569 | uint flags, LLUUID objectID, LLUUID ownerID, string text, byte[] color, | 567 | uint flags, LLUUID objectID, LLUUID ownerID, string text, byte[] color, |
570 | uint parentID, byte[] particleSystem, byte clickAction, bool track); | 568 | uint parentID, byte[] particleSystem, byte clickAction); |
569 | |||
571 | 570 | ||
572 | void SendPrimTerseUpdate(ulong regionHandle, ushort timeDilation, uint localID, LLVector3 position, | 571 | void SendPrimTerseUpdate(ulong regionHandle, ushort timeDilation, uint localID, LLVector3 position, |
573 | LLQuaternion rotation, LLVector3 velocity, LLVector3 rotationalvelocity, byte state, LLUUID AssetId); | 572 | LLQuaternion rotation, LLVector3 velocity, LLVector3 rotationalvelocity, byte state, LLUUID AssetId); |
@@ -703,6 +702,7 @@ namespace OpenSim.Framework | |||
703 | 702 | ||
704 | void SetDebug(int newDebug); | 703 | void SetDebug(int newDebug); |
705 | void InPacket(Packet NewPack); | 704 | void InPacket(Packet NewPack); |
705 | void ProcessInPacket(Packet NewPack); | ||
706 | void Close(bool ShutdownCircuit); | 706 | void Close(bool ShutdownCircuit); |
707 | void Kick(string message); | 707 | void Kick(string message); |
708 | void Stop(); | 708 | void Stop(); |