APIdia Launch Partner
Top Inners Fields Constructors Methods
com.sun.jmx.remote.internal

public abstract Class ServerCommunicatorAdmin

extends Object
Class Inheritance
Imports
com.sun.jmx.remote.util.ClassLogger

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Field Summary

Modifier and TypeField and Description
private int
private final int[]
private static final ClassLogger
private boolean
private static final ClassLogger
private long
private long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected abstract void
doStop()

Called by this class to tell an implementation to do stop.

private void
logtime(String desc, long time)

public boolean

Returns:

the value of the termination flag: true if the connection is already being terminated, false otherwise.
reqIncoming
()

Tells that a new request message is received.

public boolean

Returns:

the value of the termination flag: true if the connection is already being terminated, false otherwise.
rspOutgoing
()

Tells that a response is sent out for a received request.

public void
terminate()

Terminates this object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

currentJobsback to summary
private int currentJobs
lockback to summary
private final int[] lock
loggerback to summary
private static final ClassLogger logger
terminatedback to summary
private boolean terminated
timeloggerback to summary
private static final ClassLogger timelogger
timeoutback to summary
private long timeout
timestampback to summary
private long timestamp

Constructor Detail

ServerCommunicatorAdminback to summary
public ServerCommunicatorAdmin(long timeout)

Method Detail

doStopback to summary
protected abstract void doStop()

Called by this class to tell an implementation to do stop.

logtimeback to summary
private void logtime(String desc, long time)
reqIncomingback to summary
public boolean reqIncoming()

Tells that a new request message is received. A caller of this method should always call the method rspOutgoing to inform that a response is sent out for the received request.

Returns:boolean

the value of the termination flag: true if the connection is already being terminated, false otherwise.

rspOutgoingback to summary
public boolean rspOutgoing()

Tells that a response is sent out for a received request.

Returns:boolean

the value of the termination flag: true if the connection is already being terminated, false otherwise.

terminateback to summary
public void terminate()

Terminates this object. Called only by outside, so do not need to call doStop

com.sun.jmx.remote.internal back to summary

private Class ServerCommunicatorAdmin.Timeout

extends Object
implements Runnable
Class Inheritance
All Implemented Interfaces
java.lang.Runnable

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
run()

Implements java.lang.Runnable.run.

Runs this operation.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Timeoutback to summary
private Timeout()

Method Detail

runback to summary
public void run()

Implements java.lang.Runnable.run.

Doc from java.lang.Runnable.run.

Runs this operation.