Exemplo n.º 1
0
        internal NetStream TriggerGetCreatorData()
        {
            var fullStream = NetStream.New();

            OnWriteCreatorData(fullStream);
            return(fullStream);
        }
Exemplo n.º 2
0
        internal NetStream TriggerGetPeerData()
        {
            var peerStream = NetStream.New();

            OnWritePeerData(peerStream);
            return(peerStream);
        }
Exemplo n.º 3
0
        internal NetStream TriggerGetProxyData()
        {
            var proxyStream = NetStream.New();

            OnWriteProxyData(proxyStream);
            return(proxyStream);
        }
Exemplo n.º 4
0
        internal NetStream TriggerGetOwnerData()
        {
            var ownerStream = NetStream.New();

            OnWriteOwnerData(ownerStream);
            return(ownerStream);
        }
Exemplo n.º 5
0
 /// <summary> Fires sync event to trigger sync messsage creation. </summary>
 internal void TriggerSyncEvent()
 {
     if (!syncEnabled || OnWriteSync == null)
     {
         return;
     }
     if (syncStream == null)
     {
         syncStream = NetStream.New();
     }
     syncStream.Reset();
     SendSync(OnWriteSync(syncStream));
 }