MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / remove

Method remove

Engine/source/platform/platformNet.cpp:430–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428}
429
430template<class T> void ReservedSocketList<T>::remove(NetSocket socketToRemove, bool doLock)
431{
432 MutexHandle handle;
433 if (doLock)
434 {
435 handle.lock(mMutex, true);
436 }
437
438 if ((U32)socketToRemove.getHandle() >= (U32)mSocketList.size())
439 return;
440
441 mSocketList[socketToRemove.getHandle()] = EntryType();
442}
443
444template<class T> T ReservedSocketList<T>::activate(NetSocket socketToActivate, int family, bool useUDP, bool clearOnFail)
445{

Callers 9

onRemoveMethod · 0.45
~PostEffectManagerMethod · 0.45
openConnectToMethod · 0.45
closeSocketMethod · 0.45
TESTFunction · 0.45
makeRequestMethod · 0.45
~OculusVRDeviceMethod · 0.45
processMethod · 0.45
~PopupMenuMethod · 0.45

Calls 4

EntryTypeClass · 0.85
lockMethod · 0.45
getHandleMethod · 0.45
sizeMethod · 0.45

Tested by 2

TESTFunction · 0.36
makeRequestMethod · 0.36