org.jacorb.orb.giop
public class ClientConnection extends Object implements ReplyListener, ConnectionListener
Version: $Id: ClientConnection.java,v 1.63 2006/07/26 11:05:21 nick.cross Exp $
Constructor Summary | |
---|---|
ClientConnection(GIOPConnection connection, ORB orb, ClientConnectionManager conn_mg, Profile registeredProfile, boolean client_initiated) |
Method Summary | |
---|---|
long | cacheSASContext(byte[] client_authentication_token) |
void | close()
called from Delegate/ConnectionManagement etc. |
void | closeConnectionReceived(byte[] close_conn, GIOPConnection connection)
Received a CloseConnection message. |
void | connectionClosed()
Operations from ConnectionListener
used for upcalls from GIOPConnection |
boolean | decClients()
This method decrements the number of clients.
|
GIOPConnection | getGIOPConnection() |
int | getId() |
Profile | getRegisteredProfile()
Get the profile that was used for registering with the
ClientConnectionManager. |
int | getTCS() |
int | getTCSW() |
Profile | get_server_profile() |
void | incClients()
Increments the number of clients. |
boolean | isClientInitiated() |
boolean | isTCSNegotiated() |
void | locateReplyReceived(byte[] reply, GIOPConnection connection) |
int | numClients()
Returns the number of clients currently using this connection. |
long | purgeSASContext(long client_context_id) |
void | replyReceived(byte[] reply, GIOPConnection connection)
Operations from ReplyListener |
void | sendRequest(MessageOutputStream outputStream, ReplyPlaceholder placeholder, int request_id, boolean response_expected)
The request_id parameter is only used, if response_expected. |
void | sendRequest(MessageOutputStream outputStream, boolean response_expected) |
void | setCodeSet(ParsedIOR pior) |
void | streamClosed()
the transport has been
removed underneath the GIOP layer |
Returns: a boolean
value, true if client_count is zero.