|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jini.jeri.tcp.Constraints.Distilled
static class Constraints.Distilled
A distillation of constraints to a form more directly usable by this provider.
Field Summary | |
---|---|
private long |
connectDeadline
|
private boolean |
hasConnectDeadline
|
private boolean |
relativeOK
true if relative time constraints are allowed (in other words, not for client-side use) |
private Collection |
unfulfilledPreferences
|
private Collection |
unfulfilledRequirements
|
Constructor Summary | |
---|---|
Constraints.Distilled(InvocationConstraints constraints,
boolean relativeOK)
|
Method Summary | |
---|---|
private void |
addAlternatives(ConstraintAlternatives constraint,
boolean isRequirement)
If "isRequirement" is true, throws an UnsupportedConstraintException if we do not support at least the transport layer aspects of at least one of the constraints in the given alternatives. |
private void |
addConnectDeadline(long deadline)
Adds the given connect deadline to this object's state. |
private void |
addConstraint(InvocationConstraint constraint,
boolean isRequirement)
If "isRequirement" is true, throws an UnsupportedConstraintException if we do not support at least the transport layer aspects of the given constraint. |
(package private) long |
getConnectDeadline()
Returns the absolute time of the socket connect deadline. |
(package private) InvocationConstraints |
getUnfulfilledConstraints()
Returns the requirements and supported preferences that must be at least partially implemented by higher layers. |
(package private) boolean |
hasConnectDeadline()
Returns true if a there is a socket connect deadline. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final boolean relativeOK
private Collection unfulfilledRequirements
private Collection unfulfilledPreferences
private boolean hasConnectDeadline
private long connectDeadline
Constructor Detail |
---|
Constraints.Distilled(InvocationConstraints constraints, boolean relativeOK) throws UnsupportedConstraintException
UnsupportedConstraintException
Method Detail |
---|
InvocationConstraints getUnfulfilledConstraints()
boolean hasConnectDeadline()
long getConnectDeadline()
private void addConstraint(InvocationConstraint constraint, boolean isRequirement) throws UnsupportedConstraintException
UnsupportedConstraintException
private void addAlternatives(ConstraintAlternatives constraint, boolean isRequirement) throws UnsupportedConstraintException
UnsupportedConstraintException
private void addConnectDeadline(long deadline)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |