org.jacorb.orb.giop
Class ServerGIOPConnection
java.lang.Object
java.io.OutputStream
org.jacorb.orb.giop.GIOPConnection
org.jacorb.orb.giop.ServerGIOPConnection
- public class ServerGIOPConnection
- extends GIOPConnection
- Version:
- $Id: ServerGIOPConnection.java,v 1.19 2005/12/07 16:03:22 andre.spiegel Exp $
- Author:
- Nicolas Noffke
Method Summary |
void |
close()
|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
|
protected void |
readTimedOut()
Server-side implementation what to do when a read timeout occurs.
|
protected void |
streamClosed()
Server-side implementation what to do if the underlying transport
gets closed during a read operation. |
java.lang.String |
toString()
|
Methods inherited from class org.jacorb.orb.giop.GIOPConnection |
allocate_cubby_id, decPendingMessages, flush, get_cubby, getRequestListener, getStatisticsProvider, getTCS, getTCSW, getTransport, getWriteLock, hasPendingMessages, incPendingMessages, isSSL, isTCSNegotiated, markTCSNegotiated, receiveMessages, releaseWriteLock, sendReply, sendRequest, set_cubby, setCodeSets, setConnectionListener, setReplyListener, setRequestListener, write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ServerGIOPConnection
public ServerGIOPConnection(Profile profile,
Connection transport,
RequestListener request_listener,
ReplyListener reply_listener,
StatisticsProvider statistics_provider,
GIOPConnectionManager manager)
configure
public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Overrides:
configure
in class GIOPConnection
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
readTimedOut
protected void readTimedOut()
- Server-side implementation what to do when a read timeout occurs.
We react by trying an orderly shutdown that's initiated with
a CloseConnection message. If this timeout occured after we have
already sent CloseConnection, just close down unconditionally.
- Specified by:
readTimedOut
in class GIOPConnection
streamClosed
protected void streamClosed()
- Server-side implementation what to do if the underlying transport
gets closed during a read operation. Since we're server-side and
can't reopen, we simply close completely.
- Specified by:
streamClosed
in class GIOPConnection
close
public void close()
- Overrides:
close
in class GIOPConnection
toString
public java.lang.String toString()