Java Doc for DwrMessage.java in  » Ajax » dwr » org » directwebremoting » jms » 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 » dwr » org.directwebremoting.jms 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.directwebremoting.jms.DwrMessage

DwrMessage
public class DwrMessage implements Message,MapMessage,TextMessage,ObjectMessage(Code)
An implementation of all the Message types rolled into one. This allows DWR to not know what type of Message the user wishes to work with and to make the decision at runtime depending on how they choose to cast us.
author:
   Joe Walker [joe at getahead dot ltd dot uk]

Inner Class : enum Source

Field Summary
protected  Hubhub
    
protected  Map<String, Object>map
    
protected  MessageEventmessage
    
protected  Serializableobject
    
protected  Sourcesource
    
protected  Stringtext
    

Constructor Summary
public  DwrMessage()
    
public  DwrMessage(String text)
    
public  DwrMessage(Serializable object)
    
public  DwrMessage(Hub hub, MessageEvent message)
     Ctor for propagation from the DWR Hub .

Method Summary
public  voidacknowledge()
    
public  voidclearBody()
    
public  voidclearProperties()
    
public  booleangetBoolean(String name)
    
public  booleangetBooleanProperty(String name)
    
public  bytegetByte(String name)
    
public  bytegetByteProperty(String name)
    
public  byte[]getBytes(String name)
    
public  chargetChar(String name)
    
public  doublegetDouble(String name)
    
public  doublegetDoubleProperty(String name)
    
public  floatgetFloat(String name)
    
public  floatgetFloatProperty(String name)
    
public  intgetInt(String name)
    
public  intgetIntProperty(String name)
    
public  StringgetJMSCorrelationID()
    
public  byte[]getJMSCorrelationIDAsBytes()
    
public  intgetJMSDeliveryMode()
    
public  DestinationgetJMSDestination()
    
public  longgetJMSExpiration()
    
public  StringgetJMSMessageID()
    
public  intgetJMSPriority()
    
public  booleangetJMSRedelivered()
    
public  DestinationgetJMSReplyTo()
    
public  longgetJMSTimestamp()
    
public  StringgetJMSType()
    
public  longgetLong(String name)
    
public  longgetLongProperty(String name)
    
public  Enumeration<String>getMapNames()
    
public  ObjectgetObject(String name)
    
public  SerializablegetObject()
    
public  ObjectgetObjectProperty(String name)
    
public  Enumeration<String>getPropertyNames()
    
public  shortgetShort(String name)
    
public  shortgetShortProperty(String name)
    
public  StringgetString(String name)
    
public  StringgetStringProperty(String name)
    
public  StringgetText()
    
public  booleanitemExists(String name)
    
public  booleanpropertyExists(String name)
    
public  voidsetBoolean(String name, boolean value)
    
public  voidsetBooleanProperty(String name, boolean value)
    
public  voidsetByte(String name, byte value)
    
public  voidsetByteProperty(String name, byte value)
    
public  voidsetBytes(String name, byte[] value)
    
public  voidsetBytes(String name, byte[] value, int offset, int length)
    
public  voidsetChar(String name, char value)
    
public  voidsetDouble(String name, double value)
    
public  voidsetDoubleProperty(String name, double value)
    
public  voidsetFloat(String name, float value)
    
public  voidsetFloatProperty(String name, float value)
    
public  voidsetInt(String name, int value)
    
public  voidsetIntProperty(String name, int value)
    
public  voidsetJMSCorrelationID(String correlationID)
    
public  voidsetJMSCorrelationIDAsBytes(byte[] correlationID)
    
public  voidsetJMSDeliveryMode(int deliveryMode)
    
public  voidsetJMSDestination(Destination destination)
    
public  voidsetJMSExpiration(long expiration)
    
public  voidsetJMSMessageID(String messageId)
    
public  voidsetJMSPriority(int priority)
    
public  voidsetJMSRedelivered(boolean redelivered)
    
public  voidsetJMSReplyTo(Destination replyTo)
    
public  voidsetJMSTimestamp(long timestamp)
    
public  voidsetJMSType(String type)
    
public  voidsetLong(String name, long value)
    
public  voidsetLongProperty(String name, long value)
    
public  voidsetObject(String name, Object value)
    
public  voidsetObject(Serializable object)
    
public  voidsetObjectProperty(String name, Object value)
    
public  voidsetShort(String name, short value)
    
public  voidsetShortProperty(String name, short value)
    
public  voidsetString(String name, String value)
    
public  voidsetStringProperty(String name, String value)
    
public  voidsetText(String text)
    

Field Detail
hub
protected Hub hub(Code)
The Hub for when data is received from the client



map
protected Map<String, Object> map(Code)
The map of contained objects



message
protected MessageEvent message(Code)
The message straight out of the hub



object
protected Serializable object(Code)
The object that we are wrapping



source
protected Source source(Code)
What is the current source of our data



text
protected String text(Code)
The message passed over JMS




Constructor Detail
DwrMessage
public DwrMessage()(Code)
Default ctor



DwrMessage
public DwrMessage(String text)(Code)
Ctor for setting up a TextMessage



DwrMessage
public DwrMessage(Serializable object)(Code)
Ctor for setting up an ObjectMessage



DwrMessage
public DwrMessage(Hub hub, MessageEvent message)(Code)
Ctor for propagation from the DWR Hub .




Method Detail
acknowledge
public void acknowledge()(Code)



clearBody
public void clearBody()(Code)



clearProperties
public void clearProperties()(Code)



getBoolean
public boolean getBoolean(String name)(Code)



getBooleanProperty
public boolean getBooleanProperty(String name)(Code)



getByte
public byte getByte(String name)(Code)



getByteProperty
public byte getByteProperty(String name)(Code)



getBytes
public byte[] getBytes(String name)(Code)



getChar
public char getChar(String name)(Code)



getDouble
public double getDouble(String name)(Code)



getDoubleProperty
public double getDoubleProperty(String name)(Code)



getFloat
public float getFloat(String name)(Code)



getFloatProperty
public float getFloatProperty(String name)(Code)



getInt
public int getInt(String name)(Code)



getIntProperty
public int getIntProperty(String name)(Code)



getJMSCorrelationID
public String getJMSCorrelationID()(Code)



getJMSCorrelationIDAsBytes
public byte[] getJMSCorrelationIDAsBytes()(Code)



getJMSDeliveryMode
public int getJMSDeliveryMode()(Code)



getJMSDestination
public Destination getJMSDestination()(Code)



getJMSExpiration
public long getJMSExpiration()(Code)



getJMSMessageID
public String getJMSMessageID()(Code)



getJMSPriority
public int getJMSPriority()(Code)



getJMSRedelivered
public boolean getJMSRedelivered()(Code)



getJMSReplyTo
public Destination getJMSReplyTo()(Code)



getJMSTimestamp
public long getJMSTimestamp()(Code)



getJMSType
public String getJMSType()(Code)



getLong
public long getLong(String name)(Code)



getLongProperty
public long getLongProperty(String name)(Code)



getMapNames
public Enumeration<String> getMapNames()(Code)



getObject
public Object getObject(String name)(Code)



getObject
public Serializable getObject()(Code)



getObjectProperty
public Object getObjectProperty(String name)(Code)



getPropertyNames
public Enumeration<String> getPropertyNames()(Code)



getShort
public short getShort(String name)(Code)



getShortProperty
public short getShortProperty(String name)(Code)



getString
public String getString(String name)(Code)



getStringProperty
public String getStringProperty(String name)(Code)



getText
public String getText()(Code)



itemExists
public boolean itemExists(String name)(Code)



propertyExists
public boolean propertyExists(String name)(Code)



setBoolean
public void setBoolean(String name, boolean value)(Code)



setBooleanProperty
public void setBooleanProperty(String name, boolean value)(Code)



setByte
public void setByte(String name, byte value)(Code)



setByteProperty
public void setByteProperty(String name, byte value)(Code)



setBytes
public void setBytes(String name, byte[] value)(Code)



setBytes
public void setBytes(String name, byte[] value, int offset, int length)(Code)



setChar
public void setChar(String name, char value)(Code)



setDouble
public void setDouble(String name, double value)(Code)



setDoubleProperty
public void setDoubleProperty(String name, double value)(Code)



setFloat
public void setFloat(String name, float value)(Code)



setFloatProperty
public void setFloatProperty(String name, float value)(Code)



setInt
public void setInt(String name, int value)(Code)



setIntProperty
public void setIntProperty(String name, int value)(Code)



setJMSCorrelationID
public void setJMSCorrelationID(String correlationID)(Code)



setJMSCorrelationIDAsBytes
public void setJMSCorrelationIDAsBytes(byte[] correlationID)(Code)



setJMSDeliveryMode
public void setJMSDeliveryMode(int deliveryMode)(Code)



setJMSDestination
public void setJMSDestination(Destination destination)(Code)



setJMSExpiration
public void setJMSExpiration(long expiration)(Code)



setJMSMessageID
public void setJMSMessageID(String messageId)(Code)



setJMSPriority
public void setJMSPriority(int priority)(Code)



setJMSRedelivered
public void setJMSRedelivered(boolean redelivered)(Code)



setJMSReplyTo
public void setJMSReplyTo(Destination replyTo)(Code)



setJMSTimestamp
public void setJMSTimestamp(long timestamp)(Code)



setJMSType
public void setJMSType(String type)(Code)



setLong
public void setLong(String name, long value)(Code)



setLongProperty
public void setLongProperty(String name, long value)(Code)



setObject
public void setObject(String name, Object value)(Code)



setObject
public void setObject(Serializable object)(Code)



setObjectProperty
public void setObjectProperty(String name, Object value)(Code)



setShort
public void setShort(String name, short value)(Code)



setShortProperty
public void setShortProperty(String name, short value)(Code)



setString
public void setString(String name, String value)(Code)



setStringProperty
public void setStringProperty(String name, String value)(Code)



setText
public void setText(String text)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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