Java Doc for ChannelDescription.java in  » Groupware » Data-share » org » datashare » objects » 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 » Groupware » Data share » org.datashare.objects 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.datashare.objects.ChannelDescription

ChannelDescription
public class ChannelDescription implements java.io.Serializable(Code)
Used to describe a Channel that a Client should use to communicate with the DataShareServer. The Channel described is a data channel that the DataShareServer will use to exchange data between clients that are connected to it. This object is not sent directly, but instead is sent by the DataShareServer over the commandStatusChannel as part of a ChannelDescriptionArray object.
since:
   Version 2
author:
   Charles Wood
See Also:   ChannelDescriptionArray


Field Summary
final public static  intMULTICAST
    
final public static  intTCP
    
final public static  intUDP
    
final public static  intUNKNOWN
    
public  booleanallowPersistSelection
    
public  StringarchiveChannelClass
     Provides the DataShareServer with the the class used to handle data for this Channel (the class of the Rendezvous function) when archiving this Channel's data to DocumentKonnect.
public  StringarchiveChannelGetDataMethod
     Provides the DataShareServer with the method to call in the archiveChannelClass to genereate the DocumentKonnect file (after all the EJB persisted data has been sent to the archiveChannelSetDataMethod).
public  StringarchiveChannelSetDataMethod
     Provides the DataShareServer with the method in the archiveChannelClass to call so that the data that was archived to EJBs can be re-processed prior to calling the archiveChannelGetDataMethod to create the file for DocumentKonnect.
public  StringchannelClass
     Provides Clients with the the class used to handle data for this Channel (the class of the Rendezvous function), applies only to data channels for Rendezvous Functions, otherwise, not used.
public  StringchannelDescription
    
public  StringchannelJarFileName
     provides the Client with the name of the jar file in which to look for the channelClass, used only for Rendezvous functions.
public  StringchannelName
    
public  StringfileExtension
    
public  inthistoryCountInc
     used as the count of how many EJBs to retrieve at one time when getting ready to send data to clients as history.
public  inthistoryDelay
     used to set the delay that the server inserts between each packet sent to a client when history has been requested.
public  StringmimeType
    
public  booleanpersist
    
public  booleanselectionPreSet
     indicates that the Client should this Channel's checkBox pre-checked in the New Session Dialog Frame, indicating a desire to have this type of Channel in a Session.
final static  longserialVersionUID
     this allows us to serialize this class without 'marshalling' errors.
public  inttype
    
final public static  String[]validTypes
     Used when a String representation of the type attribute is desired, the type value is the index into this array.

Constructor Summary
public  ChannelDescription()
     Constructor, should only be used when creating the command status connection. The only information needed by a client to create the commandStatus connection is the Server IP address and port number.
public  ChannelDescription(String channelName, String channelDescription, int channelType)
     Constructor, should only be used when creating a single channel (per Session) data connection for a non-PpKClient client.
public  ChannelDescription(String channelName, String channelClass, String channelDescription, int type, String channelJarFileName, boolean allowPersistSelection, boolean persist, boolean selectionPreSet, int historyDelay, int historyCountInc)
    
public  ChannelDescription(String channelName, String channelClass, String channelDescription, String channelType, String channelJarFileName, boolean allowPersistSelection, boolean persist, boolean selectionPreSet, int historyDelay, int historyCountInc)
    
public  ChannelDescription(String channelName, String channelClass, String channelDescription, int type, String channelJarFileName, boolean allowPersistSelection, boolean persist, boolean selectionPreSet, int historyDelay, int historyCountInc, String mimeType, String fileExtension, String archiveChannelClass, String archiveChannelSetDataMethod, String archiveChannelGetDataMethod)
    
public  ChannelDescription(String channelName, String channelClass, String channelDescription, String channelType, String channelJarFileName, boolean allowPersistSelection, boolean persist, boolean selectionPreSet, int historyDelay, int historyCountInc, String mimeType, String fileExtension, String archiveChannelClass, String archiveChannelSetDataMethod, String archiveChannelGetDataMethod)
    


Field Detail
MULTICAST
final public static int MULTICAST(Code)
valid value for the 'type' attribute, used for Multicast type connections



TCP
final public static int TCP(Code)
valid value for the 'type' attribute, used for TCP type connections



UDP
final public static int UDP(Code)
valid value for the 'type' attribute, used for UDP type connections



UNKNOWN
final public static int UNKNOWN(Code)
valid value for the 'type' attribute used when the connection is unknown



allowPersistSelection
public boolean allowPersistSelection(Code)
indicates if this function is allowed to persist data, true indicates that it is, false indicates that this function should never save any data (persist will be set to false and the user should not be offered the persist data option)



archiveChannelClass
public String archiveChannelClass(Code)
Provides the DataShareServer with the the class used to handle data for this Channel (the class of the Rendezvous function) when archiving this Channel's data to DocumentKonnect. Note that the full package name is required.



archiveChannelGetDataMethod
public String archiveChannelGetDataMethod(Code)
Provides the DataShareServer with the method to call in the archiveChannelClass to genereate the DocumentKonnect file (after all the EJB persisted data has been sent to the archiveChannelSetDataMethod).



archiveChannelSetDataMethod
public String archiveChannelSetDataMethod(Code)
Provides the DataShareServer with the method in the archiveChannelClass to call so that the data that was archived to EJBs can be re-processed prior to calling the archiveChannelGetDataMethod to create the file for DocumentKonnect.



channelClass
public String channelClass(Code)
Provides Clients with the the class used to handle data for this Channel (the class of the Rendezvous function), applies only to data channels for Rendezvous Functions, otherwise, not used. Note that the full package name is required.



channelDescription
public String channelDescription(Code)
descriptive comment about the Channel, used for display purposes only



channelJarFileName
public String channelJarFileName(Code)
provides the Client with the name of the jar file in which to look for the channelClass, used only for Rendezvous functions.



channelName
public String channelName(Code)
Provides the name of this Channel



fileExtension
public String fileExtension(Code)
indicates the file extension for the file genererated by the data in this Channel if the data is to be archived to DocumentKonnect



historyCountInc
public int historyCountInc(Code)
used as the count of how many EJBs to retrieve at one time when getting ready to send data to clients as history. A negative, or zero count indicates get next EJB, send it, repeat...



historyDelay
public int historyDelay(Code)
used to set the delay that the server inserts between each packet sent to a client when history has been requested.



mimeType
public String mimeType(Code)
indicates what type of file is generated by the data in this Channel if the data is to be archived to DocumentKonnect



persist
public boolean persist(Code)
indicates if DataShareServer is persisting the data in this Channel to EJBs



selectionPreSet
public boolean selectionPreSet(Code)
indicates that the Client should this Channel's checkBox pre-checked in the New Session Dialog Frame, indicating a desire to have this type of Channel in a Session. The user has to de-select the check box to avoid putting this type of Channel into a Session.



serialVersionUID
final static long serialVersionUID(Code)
this allows us to serialize this class without 'marshalling' errors.



type
public int type(Code)
describes the type of Channel, valid values are TCP, UDP, and MULTICAST



validTypes
final public static String[] validTypes(Code)
Used when a String representation of the type attribute is desired, the type value is the index into this array.




Constructor Detail
ChannelDescription
public ChannelDescription()(Code)
Constructor, should only be used when creating the command status connection. The only information needed by a client to create the commandStatus connection is the Server IP address and port number. All other information is set by this empty constructor.



ChannelDescription
public ChannelDescription(String channelName, String channelDescription, int channelType)(Code)
Constructor, should only be used when creating a single channel (per Session) data connection for a non-PpKClient client. There will be no history available. param channelType must be choosen from ChannelDescription.TCP, ChannelDescription.UDP, or ChannelDescription.MULTICAST



ChannelDescription
public ChannelDescription(String channelName, String channelClass, String channelDescription, int type, String channelJarFileName, boolean allowPersistSelection, boolean persist, boolean selectionPreSet, int historyDelay, int historyCountInc)(Code)
Constructor, describes a Channel that will not be archived
Parameters:
  channelName - sets instance variable channelName
Parameters:
  channelClass - sets instance variable channelClass
Parameters:
  channelDescription - sets instance variable channelDescription
Parameters:
  type - sets instance variable type
Parameters:
  channelJarFileName - sets instance variable channelJarFileName
Parameters:
  allowPersistSelection - set instance variable allowPersistSelection
Parameters:
  persist - sets instance variable persist
Parameters:
  selectionPreSet - sets instance variable selectionPreSet
Parameters:
  historyDelay - sets the time to delay between sending packets from history, zero is no delay
Parameters:
  historyCountInc - set the number of EJBs to retrieve from history per call to getData()



ChannelDescription
public ChannelDescription(String channelName, String channelClass, String channelDescription, String channelType, String channelJarFileName, boolean allowPersistSelection, boolean persist, boolean selectionPreSet, int historyDelay, int historyCountInc)(Code)
Constructor, describes a Channel that will not be archived, differs from the previous constructor by using a String for the type parameter
Parameters:
  channelName - sets instance variable channelName
Parameters:
  channelClass - sets instance variable channelClass
Parameters:
  channelDescription - sets instance variable channelDescription
Parameters:
  type - sets instance variable type
Parameters:
  channelJarFileName - sets instance variable channelJarFileName
Parameters:
  allowPersistSelection - set instance variable allowPersistSelection
Parameters:
  persist - sets instance variable persist
Parameters:
  selectionPreSet - sets instance variable selectionPreSet
Parameters:
  historyDelay - sets the time to delay between sending packets from history, zero is no delay
Parameters:
  historyCountInc - set the number of EJBs to retrieve from history per call to getData()



ChannelDescription
public ChannelDescription(String channelName, String channelClass, String channelDescription, int type, String channelJarFileName, boolean allowPersistSelection, boolean persist, boolean selectionPreSet, int historyDelay, int historyCountInc, String mimeType, String fileExtension, String archiveChannelClass, String archiveChannelSetDataMethod, String archiveChannelGetDataMethod)(Code)
Constructor, describes a Channel that may be archived
Parameters:
  channelName - sets instance variable channelName
Parameters:
  channelClass - sets instance variable channelClass
Parameters:
  channelDescription - sets instance variable channelDescription
Parameters:
  type - sets instance variable type
Parameters:
  channelJarFileName - sets instance variable channelJarFileName
Parameters:
  allowPersistSelection - set instance variable allowPersistSelection
Parameters:
  persist - sets instance variable persist
Parameters:
  selectionPreSet - sets instance variable selectionPreSet
Parameters:
  historyDelay - sets the time to delay between sending packets from history, zero is no delay
Parameters:
  historyCountInc - set the number of EJBs to retrieve from history per call to getData()
Parameters:
  mimeType - sets instance variable mimeType
Parameters:
  fileExtension - sets instance variable fileExtention
Parameters:
  archiveChannelClass - sets instance variable archiveChannelClass
Parameters:
  archiveChannelSetDataMethod - sets instance variable archiveChannelSetDataMethod
Parameters:
  archiveChannelGetDataMethod - set instance variable archiveChannelGetDataMethod



ChannelDescription
public ChannelDescription(String channelName, String channelClass, String channelDescription, String channelType, String channelJarFileName, boolean allowPersistSelection, boolean persist, boolean selectionPreSet, int historyDelay, int historyCountInc, String mimeType, String fileExtension, String archiveChannelClass, String archiveChannelSetDataMethod, String archiveChannelGetDataMethod)(Code)
Constructor, describes a Channel that may be archived, uses String for the type parameter
Parameters:
  channelName - sets instance variable channelName
Parameters:
  channelClass - sets instance variable channelClass
Parameters:
  channelDescription - sets instance variable channelDescription
Parameters:
  type - sets instance variable type
Parameters:
  channelJarFileName - sets instance variable channelJarFileName
Parameters:
  allowPersistSelection - set instance variable allowPersistSelection
Parameters:
  persist - sets instance variable persist
Parameters:
  selectionPreSet - sets instance variable selectionPreSet
Parameters:
  historyDelay - sets the time to delay between sending packets from history, zero is no delay
Parameters:
  historyCountInc - set the number of EJBs to retrieve from history per call to getData()
Parameters:
  mimeType - sets instance variable mimeType
Parameters:
  fileExtension - sets instance variable fileExtention
Parameters:
  archiveChannelClass - sets instance variable archiveChannelClass
Parameters:
  archiveChannelSetDataMethod - sets instance variable archiveChannelSetDataMethod
Parameters:
  archiveChannelGetDataMethod - set instance variable archiveChannelGetDataMethod




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.