Java Doc for RemoteControlEvent.java in  » Ajax » ItsNat » org » itsnat » core » event » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Ajax » ItsNat » org.itsnat.core.event 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.itsnat.core.event.RemoteControlEvent

All known Subclasses:   org.itsnat.impl.core.event.client2serv.RemoteControlEventImpl,
RemoteControlEvent
public interface RemoteControlEvent extends ItsNatEvent(Code)
This event object is sent to registered RemoteControlEventListener objects to notify the several phases of a remote control process using a timer or comet to notify the client any document change.
author:
   Jose Maria Arranz Santamaria


Field Summary
final public static  intLOAD
     Constant used to inform that a remote control client document is being loaded.
final public static  intOBSERVED_INVALID
     Constant used to inform that the remote controled document has been unloaded (is invalid).
final public static  intREFRESH
     Constant used to inform that an event has been received to refresh (update) the client with any document change.
final public static  intREQUEST
     Constant used to inform that an event is a new request to remote control a document.
final public static  intUNLOAD
     Constant used to inform that a remote control client document is being unloaded.


Method Summary
public  longgetAJAXTimeout()
     Returns the timeout of asynchronous AJAX events used for remote control.
public  intgetPhase()
     Returns the life cycle phase/notification type of this event.
public  booleanisAccepted()
     Returns true if this event request is accepted.
public  voidsetAccepted(boolean accepted)
     Used to accept or deny a remote control request.

Field Detail
LOAD
final public static int LOAD(Code)
Constant used to inform that a remote control client document is being loaded.
See Also:   RemoteControlEvent.getPhase()



OBSERVED_INVALID
final public static int OBSERVED_INVALID(Code)
Constant used to inform that the remote controled document has been unloaded (is invalid).
See Also:   RemoteControlEvent.getPhase()



REFRESH
final public static int REFRESH(Code)
Constant used to inform that an event has been received to refresh (update) the client with any document change.
See Also:   RemoteControlEvent.getPhase()



REQUEST
final public static int REQUEST(Code)
Constant used to inform that an event is a new request to remote control a document.
See Also:   RemoteControlEvent.getPhase()



UNLOAD
final public static int UNLOAD(Code)
Constant used to inform that a remote control client document is being unloaded.
See Also:   RemoteControlEvent.getPhase()





Method Detail
getAJAXTimeout
public long getAJAXTimeout()(Code)
Returns the timeout of asynchronous AJAX events used for remote control. If this event is a RemoteControlEvent.REQUEST returned value may be used to validate the request.

Returned value is proposed initially by the client but can not change during the remote control life cycle.

the timeout of asynchronous AJAX events. If negative no timeout is defined.
See Also:   RemoteControlEvent.setAccepted(boolean)



getPhase
public int getPhase()(Code)
Returns the life cycle phase/notification type of this event. the phase or notification type.
See Also:   RemoteControlEvent.REQUEST
See Also:   RemoteControlEvent.LOAD
See Also:   RemoteControlEvent.REFRESH
See Also:   RemoteControlEvent.UNLOAD
See Also:   
See Also:   RemoteControlEvent.OBSERVED_INVALID
See Also:   



isAccepted
public boolean isAccepted()(Code)
Returns true if this event request is accepted.

If this event is a new remote control request ( RemoteControlEvent.REQUEST phase) by default returns false otherwise returns true.

true if this request is accepted.
See Also:   RemoteControlEvent.setAccepted(boolean)



setAccepted
public void setAccepted(boolean accepted)(Code)
Used to accept or deny a remote control request.

This method must be called with a true value to accept a new remote control request ( RemoteControlEvent.REQUEST phase), because by default ItsNat does not accept new remote control requests.

If called with false informs ItsNat to deny a new remote control request or to end an already running remote control process.


Parameters:
  accepted - if set to false rejects or ends a new or existing remote control process.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.