|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacorb.orb.giop.ClientConnection
ClientConnection.java Created: Sat Aug 18 18:37:56 2002
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()
Decrements the number of clients and returns true if the number reaches zero. |
Profile |
get_server_profile()
|
GIOPConnection |
getGIOPConnection()
|
int |
getId()
|
java.lang.String |
getInfo()
|
Profile |
getRegisteredProfile()
Get the profile that was used for registering with the ClientConnectionManager. |
int |
getTCS()
|
int |
getTCSW()
|
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 os,
boolean response_expected)
|
void |
sendRequest(MessageOutputStream os,
ReplyPlaceholder placeholder,
int request_id,
boolean response_expected)
The request_id parameter is only used, if response_expected. |
void |
setCodeSet(ParsedIOR pior)
|
void |
streamClosed()
the transport has been removed underneath the GIOP layer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClientConnection(GIOPConnection connection, ORB orb, ClientConnectionManager conn_mg, Profile registeredProfile, boolean client_initiated)
Method Detail |
public final GIOPConnection getGIOPConnection()
public Profile getRegisteredProfile()
public void setCodeSet(ParsedIOR pior)
public boolean isTCSNegotiated()
public int getTCS()
public int getTCSW()
public java.lang.String getInfo()
public int getId()
public void incClients()
public boolean decClients()
public int numClients()
public boolean isClientInitiated()
public void sendRequest(MessageOutputStream os, ReplyPlaceholder placeholder, int request_id, boolean response_expected)
public void sendRequest(MessageOutputStream os, boolean response_expected)
public void close()
public void replyReceived(byte[] reply, GIOPConnection connection)
replyReceived
in interface ReplyListener
public void locateReplyReceived(byte[] reply, GIOPConnection connection)
locateReplyReceived
in interface ReplyListener
public void closeConnectionReceived(byte[] close_conn, GIOPConnection connection)
closeConnectionReceived
in interface ReplyListener
public void connectionClosed()
connectionClosed
in interface ConnectionListener
public void streamClosed()
streamClosed
in interface ConnectionListener
public Profile get_server_profile()
public long cacheSASContext(byte[] client_authentication_token)
public long purgeSASContext(long client_context_id)
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |