public class RcfProtoSession
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
delete() |
protected void |
finalize() |
java.lang.String |
getClientUsername()
Returns the Windows username of the client, if a NTLM or Kerberos transport protocol is being used.
|
long |
getConnectionDuration()
Returns the duration of the client connection, in milliseconds.
|
boolean |
getEnableCompression()
Returns true if compression is enabled for this server session, and false otherwise.
|
long |
getRemoteCallCount()
Returns the number of remote calls executed on the server session so far.
|
java.math.BigInteger |
getTotalBytesReceived()
Returns the total number of bytes received by the server session so far.
|
java.math.BigInteger |
getTotalBytesSent()
Returns the total number of bytes sent from the server session so far.
|
TransportProtocol |
getTransportProtocol()
Returns the transport protocol in use on this server session.
|
TransportType |
getTransportType()
Returns the transport type of this server session.
|
boolean |
isCanceled()
If true, indicates that the client canceled the RPC, so the server may as well give up on replying to it.
|
void |
setFailed(java.lang.String reason)
Causes Failed() to return true on the client side.
|
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public void setFailed(java.lang.String reason)
public boolean isCanceled()
public java.lang.String getClientUsername()
public TransportProtocol getTransportProtocol()
public TransportType getTransportType()
public boolean getEnableCompression()
public long getConnectionDuration()
public long getRemoteCallCount()
public java.math.BigInteger getTotalBytesReceived()
public java.math.BigInteger getTotalBytesSent()