Completato

Note

Errore

Session expiration Your session is going to expireClick here to extend

Budget:

Piccolo progetto <800

Pubblicato il

03/12/12 10.10

Cliente

Mar***

Questo progetto è scaduto

Pubblica un progetto simile e ricevi velocemente offerte non vincolanti.

Pubblica ora il tuo progetto simile

Descrizione

Il gioco del bingo scritto in flex è composto da due parti principali, la lobby e le stanze dove i giocatori possono giocare al bingo. Quando un giocatore sta in una qualsiasi stanza, il server ad ogni evento manda un messaggio ad ogni client per cambiare lo stato ed aggiornare la stanza oppure la lobby. In questo momento, a volte, c'è un blocco del gioco perchè il server aspetta che i messaggi vengano mandati a tutti i client. I canali di comunicazione sono definiti così:  

<channels>         <channel-definition id="my-streaming-amf" class="mx.messaging.channels.StreamingAMFChannel">             <endpoint url="http://95.131.233.10:8080/{context.root}/messagebroker/streamingamf" class="flex.messaging.endpoints.StreamingAMFEndpoint"/>             <properties>                 <idle-timeout-minutes>0</idle-timeout-minutes>                 <max-streaming-clients>10000</max-streaming-clients>                 <server-to-client-heartbeat-millis>500</server-to-client-heartbeat-millis>                 <user-agent-settings>                 <user-agent match-on="*" kickstart-bytes="2048" max-streaming-connections-per-session="10" />                       <user-agent match-on="Firefox" kickstart-bytes="0" max-streaming-connections-per-session="10" />                       <user-agent match-on="MSIE" kickstart-bytes="2048" max-streaming-connections-per-session="10" />                       <user-agent match-on="Chrome" kickstart-bytes="2048" max-streaming-connections-per-session="10" />                       <user-agent match-on="Safari" kickstart-bytes="2048" max-streaming-connections-per-session="10" />                       <user-agent match-on="Opera" kickstart-bytes="2048" max-streaming-connections-per-session="10" />                  </user-agent-settings>                </properties>      </channel-definition>         <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">             <endpoint url="http://95.131.233.10:8080/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>             <properties>                 <invalidate-session-on-disconnect>true</invalidate-session-on-disconnect>                 <polling-enabled>false</polling-enabled>             </properties>         </channel-definition>         <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel">             <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>             <properties>                 <add-no-cache-headers>false</add-no-cache-headers>             </properties>         </channel-definition>         <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel">             <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>             <properties>                 <polling-enabled>true</polling-enabled>                 <polling-interval-seconds>3</polling-interval-seconds>             </properties>         </channel-definition>         <channel-definition id="my-http" class="mx.messaging.channels.HTTPChannel">             <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/http" class="flex.messaging.endpoints.HTTPEndpoint"/>         </channel-definition>         <channel-definition id="my-secure-http" class="mx.messaging.channels.SecureHTTPChannel">             <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/httpsecure" class="flex.messaging.endpoints.SecureHTTPEndpoint"/>             <properties>                 <add-no-cache-headers>false</add-no-cache-headers>             </properties>         </channel-definition>         <channel-definition id="per-client-qos-polling-amf" class="mx.messaging.channels.AMFChannel">             <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/qosamfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>             <properties>                 <polling-enabled>true</polling-enabled>                 <polling-interval-millis>500</polling-interval-millis>                 <flex-client-outbound-queue-processor class="flex.samples.qos.CustomDelayQueueProcessor">                     <properties>                         <flush-delay>4000</flush-delay>                     </properties>                 </flex-client-outbound-queue-processor>             </properties>         </channel-definition>     </channels>