Java Doc for GIOPConnection.java in  » Collaboration » JacORB » org » jacorb » orb » giop » 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 » Collaboration » JacORB » org.jacorb.orb.giop 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.io.OutputStream
      org.jacorb.orb.giop.GIOPConnection

All known Subclasses:   org.jacorb.orb.giop.ClientGIOPConnection,  org.jacorb.orb.giop.ServerGIOPConnection,
GIOPConnection
abstract public class GIOPConnection extends java.io.OutputStream (Code)
GIOPConnection.java Created: Sun Aug 12 21:30:48 2002 Configuration parameters:
jacorb.debug.dump_incoming_messages=[on|off], default=off
jacorb.connection.client.connect_timeout=N, default=0
jacorb.connection.statistics_providers={classnames}, default=(empty)

author:
   Nicolas Noffke
version:
   $Id: GIOPConnection.java,v 1.66 2007/02/06 19:27:28 andre.spiegel Exp $


Field Summary
protected  Objectconnect_sync
    
protected  ConnectionListenerconnection_listener
    
protected  booleandiscard_messages
    
protected  booleando_close
    
protected  Loggerlogger
    
protected  ObjectpendingUndecidedSync
    
final protected  org.omg.ETF.Profileprofile
     Profile describing the remote endpoint of this connection.
protected  StatisticsProviderstatistics_provider
    
protected  StatisticsProviderAdapterstatistics_provider_adapter
    
protected  org.omg.ETF.Connectiontransport
    

Constructor Summary
public  GIOPConnection(org.omg.ETF.Profile profile, org.omg.ETF.Connection transport, RequestListener request_listener, ReplyListener reply_listener, StatisticsProvider statistics_provider)
    

Method Summary
public static  intallocate_cubby_id()
    
public  voidclose()
    
public  voidconfigure(Configuration configuration)
    
final public synchronized  voiddecPendingMessages()
    
final public  voidflush()
    
 org.omg.ETF.ProfilegetProfile()
    
final protected synchronized  RequestListenergetRequestListener()
     Get the value of request_listener.
final public  StatisticsProvidergetStatisticsProvider()
     Get the statistics provider for transport usage statistics that can be used in conjunction with the SelectionStrategy.
public  StatisticsProvidergetStatisticsProvider(int no)
    
final protected  StatisticsProviderAdaptergetStatisticsProviderAdapter()
     Get an instance of StatisticsProvider derivative, for updating the transport usage statistics.
final public  intgetTCS()
    
final public  intgetTCSW()
    
final public  org.omg.ETF.ConnectiongetTransport()
    
final protected  voidgetWriteLock()
    
public  Objectget_cubby(int id)
    
final public synchronized  booleanhasPendingMessages()
    
final public synchronized  voidincPendingMessages()
    
final public  booleanisSSL()
    
final public  booleanisTCSNegotiated()
    
final public  voidmarkTCSNegotiated()
    
abstract protected  voidreadTimedOut()
     Called by this.getMessage() to signal that the attempt to read a message resulted in a timeout.
final public  voidreceiveMessages()
    
final protected  voidreleaseWriteLock()
    
final public  voidsendReply(MessageOutputStream out)
    
final public  voidsendRequest(MessageOutputStream out, boolean expect_reply)
    
final public  voidsetCodeSets(int TCS, int TCSW)
    
final public  voidsetConnectionListener(ConnectionListener connection_listener)
    
final public synchronized  voidsetReplyListener(ReplyListener listener)
     Set the value of reply_listener.
final public synchronized  voidsetRequestListener(RequestListener listener)
     Set the value of request_listener.
public  voidset_cubby(int id, Object obj)
    
abstract protected  voidstreamClosed()
     Called by this.getMessage() to signal that the underlying transport was closed while attempting to read a message.
final public  voidwrite(byte[] fragment, int start, int size)
    
final public  voidwrite(int value)
    
final public  voidwrite(byte[] value)
    

Field Detail
connect_sync
protected Object connect_sync(Code)



connection_listener
protected ConnectionListener connection_listener(Code)



discard_messages
protected boolean discard_messages(Code)



do_close
protected boolean do_close(Code)



logger
protected Logger logger(Code)



pendingUndecidedSync
protected Object pendingUndecidedSync(Code)



profile
final protected org.omg.ETF.Profile profile(Code)
Profile describing the remote endpoint of this connection.



statistics_provider
protected StatisticsProvider statistics_provider(Code)



statistics_provider_adapter
protected StatisticsProviderAdapter statistics_provider_adapter(Code)



transport
protected org.omg.ETF.Connection transport(Code)




Constructor Detail
GIOPConnection
public GIOPConnection(org.omg.ETF.Profile profile, org.omg.ETF.Connection transport, RequestListener request_listener, ReplyListener reply_listener, StatisticsProvider statistics_provider)(Code)




Method Detail
allocate_cubby_id
public static int allocate_cubby_id()(Code)



close
public void close()(Code)



configure
public void configure(Configuration configuration) throws ConfigurationException(Code)



decPendingMessages
final public synchronized void decPendingMessages()(Code)



flush
final public void flush() throws java.io.IOException(Code)



getProfile
org.omg.ETF.Profile getProfile()(Code)



getRequestListener
final protected synchronized RequestListener getRequestListener()(Code)
Get the value of request_listener. value of request_listener.



getStatisticsProvider
final public StatisticsProvider getStatisticsProvider()(Code)
Get the statistics provider for transport usage statistics that can be used in conjunction with the SelectionStrategy. This is a special-case provider, usually supplied by, and known to, the concrete SelectionStrategy. To actually update the usage stats use getStatisticsProviderAdapter()



getStatisticsProvider
public StatisticsProvider getStatisticsProvider(int no)(Code)
Return the StatissticsProvider, given the cardinality number
Parameters:
  no -



getStatisticsProviderAdapter
final protected StatisticsProviderAdapter getStatisticsProviderAdapter()(Code)
Get an instance of StatisticsProvider derivative, for updating the transport usage statistics.



getTCS
final public int getTCS()(Code)



getTCSW
final public int getTCSW()(Code)



getTransport
final public org.omg.ETF.Connection getTransport()(Code)



getWriteLock
final protected void getWriteLock()(Code)



get_cubby
public Object get_cubby(int id)(Code)



hasPendingMessages
final public synchronized boolean hasPendingMessages()(Code)



incPendingMessages
final public synchronized void incPendingMessages()(Code)



isSSL
final public boolean isSSL()(Code)



isTCSNegotiated
final public boolean isTCSNegotiated()(Code)



markTCSNegotiated
final public void markTCSNegotiated()(Code)



readTimedOut
abstract protected void readTimedOut()(Code)
Called by this.getMessage() to signal that the attempt to read a message resulted in a timeout. This method is implemented differently on the client and server side.



receiveMessages
final public void receiveMessages() throws IOException(Code)



releaseWriteLock
final protected void releaseWriteLock()(Code)



sendReply
final public void sendReply(MessageOutputStream out) throws IOException(Code)



sendRequest
final public void sendRequest(MessageOutputStream out, boolean expect_reply) throws IOException(Code)



setCodeSets
final public void setCodeSets(int TCS, int TCSW)(Code)



setConnectionListener
final public void setConnectionListener(ConnectionListener connection_listener)(Code)



setReplyListener
final public synchronized void setReplyListener(ReplyListener listener)(Code)
Set the value of reply_listener.
Parameters:
  listener - Value to assign to reply_listener.



setRequestListener
final public synchronized void setRequestListener(RequestListener listener)(Code)
Set the value of request_listener.
Parameters:
  listener - Value to assign to request_listener.



set_cubby
public void set_cubby(int id, Object obj)(Code)



streamClosed
abstract protected void streamClosed()(Code)
Called by this.getMessage() to signal that the underlying transport was closed while attempting to read a message. This method is implemented differently on the client and server side.



write
final public void write(byte[] fragment, int start, int size)(Code)
write (a fragment of) the message (passes it on to the wire)



write
final public void write(int value) throws java.io.IOException(Code)



write
final public void write(byte[] value) throws java.io.IOException(Code)



Methods inherited from java.io.OutputStream
public void close() throws IOException(Code)(Java Doc)
public void flush() throws IOException(Code)(Java Doc)
abstract public void write(int b) throws IOException(Code)(Java Doc)
public void write(byte b) throws IOException(Code)(Java Doc)
public void write(byte b, int off, int len) throws IOException(Code)(Java Doc)

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.