Captive Imagination
November 19, 2008, 06:18:30 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Check out the teaser site for the first official game by Captive Imagination: http://www.galaxiesbeyond.com
 
   Home   Help Search Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: EFFICIENCY_MODE  (Read 182 times)
0 Members and 1 Guest are viewing this topic.
darkfrog
Administrator
Inspired Imagination
*****
Offline Offline

Posts: 2490


View Profile
« on: September 23, 2008, 10:00:34 PM »

Yes, it sounds cool and it is cool. Smiley  If you add a static block to your application (this will likely be changing soon to be specific per application to choose to enable this) that says EFFICIENCY_MODE = true in your application it will turn off all extraneous communication and attempt to reduce communication as much as possible.  This essentially makes the default for all Components to disable the following events: CREATE, OVER, OUT, CHANGE_LOCATION, CHANGE_ABSOLUTE_LOCATION, CHANGE_SCROLL_HORIZONTAL, CHANGE_SCROLL_VERTICAL, CHANGE_SIZE, CHANGE_SIZE_MEASURED.  It selectively re-enables this functionality if the Component implements any combination of the interfaces in org.jseamless.event.filter package.  You can also explicitly turn on the functionality before adding it as a child via the component.addEventType(EventType) method.

This is now in the repository and in the latest build if you download jSeamless.

Enjoy. Wink
Logged
syam
Full Member
***
Offline Offline

Posts: 127


View Profile
« Reply #1 on: September 24, 2008, 02:52:47 PM »

This is good news. Every "bit" eliminated from the network will increase efficiency.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.301 seconds with 20 queries.