Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
net.jini.core.constraint.InvocationConstraints

Packages that use InvocationConstraints
com.sun.jini.discovery | Provides a set of constraints, low-level utility classes, and provider interfaces for participating in versions 1 and 2 of the multicast request, multicast announcement, and unicast discovery protocols.
com.sun.jini.phoenix | A configurable RMI activation system daemon implementation.
net.jini.constraint | Provides a basic implementation of `MethodConstraints` and a `TrustVerifier` for common constraints.
net.jini.core.constraint | Defines constraints and collections of constraints that can be used to control method invocation, and an interface that proxies implement to allow clients to specify constraints for remote method calls.
net.jini.jeri | Provides the fundamental abstractions and standard implementation classes for Jini(TM) extensible remote invocation (Jini ERI).
net.jini.jeri.connection | Provides interfaces and classes for implementing connection-based Jini(TM) extensible remote invocation (Jini ERI) transport layer providers.
net.jini.jeri.http | Provides implementations of the `Endpoint` and `ServerEndpoint` abstractions that use HTTP messages sent over TCP sockets as the underlying communication mechanism.
net.jini.jeri.kerberos | Provides implementations of `Endpoint` and `ServerEndpoint` that use Kerberos as the underlying network security protocol to support security related invocation constraints for remote requests.
net.jini.jeri.ssl | Provides implementations of `Endpoint` and `ServerEndpoint` that use TLS/SSL and HTTPS (HTTP over TLS/SSL) to support invocation constraints.
net.jini.jeri.tcp | Provides implementations of the `Endpoint` and `ServerEndpoint` abstractions that use TCP sockets as the underlying communication mechanism.

Uses of InvocationConstraints in com.sun.jini.discovery

Methods in com.sun.jini.discovery that return InvocationConstraints
`InvocationConstraints` | `DiscoveryConstraints.getUnfulfilledConstraints()` Returns the constraints for this instance which are not, or do not contain as alternatives, instances of the "fulfillable" (by this layer) constraint types `DiscoveryProtocolVersion`, `MulticastMaxPacketSize`, `MulticastTimeToLive`, and `UnicastSocketTimeout`.

Methods in com.sun.jini.discovery with parameters of type InvocationConstraints
`void` | `UnicastDiscoveryServer.checkUnicastDiscoveryConstraints(InvocationConstraints constraints)` Checks and returns normally if this server is capable of fulfilling the given absolute constraints.
`void` | `UnicastDiscoveryServer.handleUnicastDiscovery(UnicastResponse response, Socket socket, InvocationConstraints constraints, ClientSubjectChecker checker, Collection context, ByteBuffer received, ByteBuffer sent)` Handles the server side of unicast discovery, transmitting the given response data over the provided socket using the given collection of object stream context objects in a manner that satisfies the specified absolute constraints and client subject checker (if any).
`void` | `UnicastDiscoveryClient.checkUnicastDiscoveryConstraints(InvocationConstraints constraints)` Checks and returns normally if this client is capable of fulfilling the given absolute constraints.
`UnicastResponse` | `UnicastDiscoveryClient.doUnicastDiscovery(Socket socket, InvocationConstraints constraints, ClassLoader defaultLoader, ClassLoader verifierLoader, Collection context, ByteBuffer sent, ByteBuffer received)` Performs the client side of unicast discovery, obtaining the returned response data over the provided socket using the given default and codebase verifier class loaders and collection of object stream context objects in a manner that satisfies the specified absolute constraints.
`MulticastAnnouncement` | `MulticastAnnouncementDecoder.decodeMulticastAnnouncement(ByteBuffer buf, InvocationConstraints constraints)` Decodes the multicast announcement data contained in the given buffer in a manner that satisfies the specified absolute constraints, returning a `MulticastAnnouncement` instance that contains the decoded data.
`void` | `MulticastAnnouncementEncoder.encodeMulticastAnnouncement(MulticastAnnouncement announcement, DatagramBufferFactory bufs, InvocationConstraints constraints)` Encodes the given multicast announcement data into byte buffers obtained from the provided datagram buffer factory, in a manner that satisfies the specified absolute constraints.
`MulticastRequest` | `MulticastRequestDecoder.decodeMulticastRequest(ByteBuffer buf, InvocationConstraints constraints, ClientSubjectChecker checker)` Decodes the multicast request data contained in the given buffer in a manner that satisfies the specified absolute constraints and client subject checker (if any), returning a `MulticastRequest` instance that contains the decoded data.
`void` | `MulticastRequestEncoder.encodeMulticastRequest(MulticastRequest request, DatagramBufferFactory bufs, InvocationConstraints constraints)` Encodes the given multicast request data into byte buffers obtained from the provided datagram buffer factory, in a manner that satisfies the specified absolute constraints.
`static DiscoveryConstraints` | `DiscoveryConstraints.process(InvocationConstraints constraints)` Processes the discovery-related constraints in the given set of constraints, returning a `DiscoveryConstraints` instance from which the constraint results can be queried.
`abstract EncodeIterator` | `Discovery.encodeMulticastRequest(MulticastRequest request, int maxPacketSize, InvocationConstraints constraints)` Returns an iterator which can be used to encode the given multicast request data into sets of `DatagramPacket`s, each bounded in length by the specified maximum packet size, in a manner that satisfies the given constraints.
`abstract MulticastRequest` | `Discovery.decodeMulticastRequest(DatagramPacket packet, InvocationConstraints constraints, ClientSubjectChecker checker)` Decodes the multicast request data contained in the given datagram in a manner that satisfies the specified constraints and client subject checker (if any), returning a `MulticastRequest` instance that contains the decoded data.
`abstract EncodeIterator` | `Discovery.encodeMulticastAnnouncement(MulticastAnnouncement announcement, int maxPacketSize, InvocationConstraints constraints)` Returns an iterator which can be used to encode the given multicast announcement data into sets of `DatagramPacket`s, each bounded in length by the specified maximum packet size, in a manner that satisfies the given constraints.
`abstract MulticastAnnouncement` | `Discovery.decodeMulticastAnnouncement(DatagramPacket packet, InvocationConstraints constraints)` Decodes the multicast announcement data contained in the given datagram in a manner that satisfies the specified constraints, returning a `MulticastAnnouncement` instance that contains the decoded data.
`abstract UnicastResponse` | `Discovery.doUnicastDiscovery(Socket socket, InvocationConstraints constraints, ClassLoader defaultLoader, ClassLoader verifierLoader, Collection context)` Performs the client side of unicast discovery, obtaining the returned response data over the provided socket using the given default and codebase verifier class loaders and collection of object stream context objects in a manner that satisfies the specified constraints.
`abstract void` | `Discovery.handleUnicastDiscovery(UnicastResponse response, Socket socket, InvocationConstraints constraints, ClientSubjectChecker checker, Collection context)` Handles the server side of unicast discovery, transmitting the given response data over the provided socket using the given collection of object stream context objects in a manner that satisfies the specified constraints and client subject checker (if any).

Uses of InvocationConstraints in com.sun.jini.phoenix

Methods in com.sun.jini.phoenix with parameters of type InvocationConstraints
`protected void` | `SystemAccessILFactory.SystemDispatcher.checkAccess(Remote impl, Method method, InvocationConstraints constraints, Collection context)` Checks that the client is calling from the local host.
`protected void` | `AccessILFactory.AccessDispatcher.checkAccess(Remote impl, Method method, InvocationConstraints constraints, Collection context)` Checks that the client is calling from the local host.

Uses of InvocationConstraints in net.jini.constraint

Methods in net.jini.constraint that return InvocationConstraints
`InvocationConstraints` | `BasicMethodConstraints.getConstraints(Method method)` Returns the constraints for the specified remote method as a non-`null` value.
`InvocationConstraints` | `BasicMethodConstraints.MethodDesc.getConstraints()` Returns the constraints as a non-`null` value.

Constructors in net.jini.constraint with parameters of type InvocationConstraints
`BasicMethodConstraints(InvocationConstraints constraints)` Creates an instance that maps all methods to the specified constraints.
`BasicMethodConstraints.MethodDesc(String name, Class[] types, InvocationConstraints constraints)` Creates a descriptor that only matches methods with exactly the specified name and parameter types.
`BasicMethodConstraints.MethodDesc(String name, InvocationConstraints constraints)` Creates a descriptor that matches all methods with names that equal the specified name or that match the specified pattern, regardless of their parameter types.
`BasicMethodConstraints.MethodDesc(InvocationConstraints constraints)` Creates a default descriptor that matches all methods.

Uses of InvocationConstraints in net.jini.core.constraint

Fields in net.jini.core.constraint declared as InvocationConstraints
`static InvocationConstraints` | `InvocationConstraints.EMPTY` An empty instance, one that has no requirements and no preferences.

Methods in net.jini.core.constraint that return InvocationConstraints
`InvocationConstraints` | `MethodConstraints.getConstraints(Method method)` Returns the constraints for the specified method as a non-`null` value.
`static InvocationConstraints` | `InvocationConstraints.combine(InvocationConstraints constraints1, InvocationConstraints constraints2)` Returns an instance of this class that has all of the requirements from each non-`null` argument added as requirements and has all of the preferences from each non-`null` argument added as preferences.
`InvocationConstraints` | `InvocationConstraints.makeAbsolute(long baseTime)` Returns an instance of this class equal to the result of taking the requirements and preferences in this instance, replacing each constraint that is an instance of `RelativeTimeConstraint` with the result of invoking that constraint's `makeAbsolute` method with the specified base time, and creating a new instance of this class with duplicate requirements, duplicate preferences, and preferences that are duplicates of requirements all removed.
`InvocationConstraints` | `InvocationConstraints.makeAbsolute()` Returns an instance of this class constructed from all of the same requirements and preferences as this instance, but with every constraint that is an instance of `RelativeTimeConstraint` replaced by the result of invoking the constraint's `makeAbsolute` method with the current time (as given by `System.currentTimeMillis`).

Methods in net.jini.core.constraint with parameters of type InvocationConstraints
`static InvocationConstraints` | `InvocationConstraints.combine(InvocationConstraints constraints1, InvocationConstraints constraints2)` Returns an instance of this class that has all of the requirements from each non-`null` argument added as requirements and has all of the preferences from each non-`null` argument added as preferences.

Uses of InvocationConstraints in net.jini.jeri

Methods in net.jini.jeri that return InvocationConstraints
`InvocationConstraints` | `InboundRequest.checkConstraints(InvocationConstraints constraints)` Verifies that this request satisfies the transport layer aspects of all of the specified requirements, and returns the requirements that must be at least partially implemented by higher layers in order to fully satisfy the specified requirements.
`InvocationConstraints` | `OutboundRequest.getUnfulfilledConstraints()` Returns the requirements that must be at least partially implemented by higher layers in order to fully satisfy the requirements for this request.
`InvocationConstraints` | `ServerCapabilities.checkConstraints(InvocationConstraints constraints)` Verifies that this instance supports the transport layer aspects of all of the specified requirements (both in general and in the current security context), and returns the requirements that must be at least partially implemented by higher layers in order to fully satisfy all of the specified requirements.

Methods in net.jini.jeri with parameters of type InvocationConstraints
`OutboundRequestIterator` | `BasicObjectEndpoint.newCall(InvocationConstraints constraints)` Returns an `OutboundRequestIterator` to use to send a new remote call to the referenced remote object using the specified constraints. The constraints must be the complete, absolute constraints for the remote call, combining any client and server constraints for the remote method being invoked, with no relative time constraints. For each `OutboundRequest` produced by the returned `OutboundRequestIterator`, after writing the request data and before reading any response data, `executeCall` must be invoked to execute the call. This method first invokes `newRequest` on this `BasicObjectEndpoint`'s contained `Endpoint` with the specified constraints to obtain an `OutboundRequestIterator`.
`protected void` | `BasicInvocationDispatcher.checkAccess(Remote impl, Method method, InvocationConstraints constraints, Collection context)` Checks that the client has permission to invoke the specified method on the specified remote object.
`OutboundRequestIterator` | `ObjectEndpoint.newCall(InvocationConstraints constraints)` Returns an `OutboundRequestIterator` to use to send a new remote call to the referenced remote object using the specified constraints.
`InvocationConstraints` | `InboundRequest.checkConstraints(InvocationConstraints constraints)` Verifies that this request satisfies the transport layer aspects of all of the specified requirements, and returns the requirements that must be at least partially implemented by higher layers in order to fully satisfy the specified requirements.
`InvocationConstraints` | `ServerCapabilities.checkConstraints(InvocationConstraints constraints)` Verifies that this instance supports the transport layer aspects of all of the specified requirements (both in general and in the current security context), and returns the requirements that must be at least partially implemented by higher layers in order to fully satisfy all of the specified requirements.
`OutboundRequestIterator` | `Endpoint.newRequest(InvocationConstraints constraints)` Returns an `OutboundRequestIterator` to use to send a new request to this remote endpoint using the specified constraints.

Uses of InvocationConstraints in net.jini.jeri.connection

Methods in net.jini.jeri.connection that return InvocationConstraints
`InvocationConstraints` | `Connection.getUnfulfilledConstraints(OutboundRequestHandle handle)` Implements `OutboundRequest.getUnfulfilledConstraints` for a request with the specified handle.
`InvocationConstraints` | `ServerConnection.checkConstraints(InboundRequestHandle handle, InvocationConstraints constraints)` Implements `InboundRequest.checkConstraints` for a request with the specified handle.

Methods in net.jini.jeri.connection with parameters of type InvocationConstraints
`InvocationConstraints` | `ServerConnection.checkConstraints(InboundRequestHandle handle, InvocationConstraints constraints)` Implements `InboundRequest.checkConstraints` for a request with the specified handle.

Uses of InvocationConstraints in net.jini.jeri.http

Methods in net.jini.jeri.http that return InvocationConstraints
`InvocationConstraints` | `HttpServerEndpoint.checkConstraints(InvocationConstraints constraints)` Verifies that this instance supports the transport layer aspects of all of the specified requirements (both in general and in the current security context), and returns the requirements that must be at least partially implemented by higher layers in order to fully satisfy all of the specified requirements. This method may also return preferences that must be at least partially implemented by higher layers in order to fully satisfy some of the specified preferences. For any given constraint, there must be a clear delineation of which aspects (if any) must be implemented by the transport layer. This method must not return a constraint (as a requirement or a preference, directly or as an element of another constraint) unless this instance can implement all of those aspects. Also, this method must not return a constraint for which all aspects must be implemented by the transport layer. Most of the constraints in the `net.jini.core.constraint` package must be fully implemented by the transport layer and thus must not be returned by this method; the one exception is `Integrity`, for which the transport layer is responsible for the data integrity aspect and higher layers are responsible for the code integrity aspect. For any `ConstraintAlternatives` in the specified constraints, this method should only return a corresponding constraint if all of the alternatives supported by this instance need to be at least partially implemented by higher layers in order to be fully satisfied. The constraints passed to this method may include constraints based on relative time.

Methods in net.jini.jeri.http with parameters of type InvocationConstraints
`InvocationConstraints` | `HttpServerEndpoint.checkConstraints(InvocationConstraints constraints)` Verifies that this instance supports the transport layer aspects of all of the specified requirements (both in general and in the current security context), and returns the requirements that must be at least partially implemented by higher layers in order to fully satisfy all of the specified requirements. This method may also return preferences that must be at least partially implemented by higher layers in order to fully satisfy some of the specified preferences. For any given constraint, there must be a clear delineation of which aspects (if any) must be implemented by the transport layer. This method must not return a constraint (as a requirement or a preference, directly or as an element of another constraint) unless this instance can implement all of those aspects. Also, this method must not return a constraint for which all aspects must be implemented by the transport layer. Most of the constraints in the `net.jini.core.constraint` package must be fully implemented by the transport layer and thus must not be returned by this method; the one exception is `Integrity`, for which the transport layer is responsible for the data integrity aspect and higher layers are responsible for the code integrity aspect. For any `ConstraintAlternatives` in the specified constraints, this method should only return a corresponding constraint if all of the alternatives supported by this instance need to be at least partially implemented by higher layers in order to be fully satisfied. The constraints passed to this method may include constraints based on relative time.
`OutboundRequestIterator` | `HttpEndpoint.newRequest(InvocationConstraints constraints)` Returns an `OutboundRequestIterator` to use to send a new request to this remote endpoint using the specified constraints. The constraints must be the complete, absolute constraints for the request. The returned `OutboundRequestIterator`'s `next` method behaves as follows: Initiates an attempt to communicate the request to this remote endpoint.

Uses of InvocationConstraints in net.jini.jeri.kerberos

Methods in net.jini.jeri.kerberos that return InvocationConstraints
`InvocationConstraints` | `KerberosServerEndpoint.checkConstraints(InvocationConstraints constraints)`

Methods in net.jini.jeri.kerberos with parameters of type InvocationConstraints
`InvocationConstraints` | `KerberosServerEndpoint.checkConstraints(InvocationConstraints constraints)`
`OutboundRequestIterator` | `KerberosEndpoint.newRequest(InvocationConstraints constraints)`

Uses of InvocationConstraints in net.jini.jeri.ssl

Methods in net.jini.jeri.ssl that return InvocationConstraints
`InvocationConstraints` | `SslServerEndpoint.checkConstraints(InvocationConstraints constraints)` Checks that it is possible to receive requests that either fully or partially satisfy the specified requirements, and returns any constraints that must be fully or partially implemented by higher layers in order to fully satisfy all of the specified requirements.
`InvocationConstraints` | `HttpsServerEndpoint.checkConstraints(InvocationConstraints constraints)` Checks that it is possible to receive requests that either fully or partially satisfy the specified requirements, and returns any constraints that must be fully or partially implemented by higher layers in order to fully satisfy all of the specified requirements.

Methods in net.jini.jeri.ssl with parameters of type InvocationConstraints
`InvocationConstraints` | `SslServerEndpoint.checkConstraints(InvocationConstraints constraints)` Checks that it is possible to receive requests that either fully or partially satisfy the specified requirements, and returns any constraints that must be fully or partially implemented by higher layers in order to fully satisfy all of the specified requirements.
`OutboundRequestIterator` | `SslEndpoint.newRequest(InvocationConstraints constraints)` Returns an `OutboundRequestIterator` to use to send a new request to this remote endpoint using the specified constraints. The constraints must be the complete, absolute constraints for the request. If there is a security manager, the `next` method defined on the iterator returned by this method calls the security manager's `checkConnect` method with the endpoint's server host and port.
`InvocationConstraints` | `HttpsServerEndpoint.checkConstraints(InvocationConstraints constraints)` Checks that it is possible to receive requests that either fully or partially satisfy the specified requirements, and returns any constraints that must be fully or partially implemented by higher layers in order to fully satisfy all of the specified requirements.
`OutboundRequestIterator` | `HttpsEndpoint.newRequest(InvocationConstraints constraints)` Returns an `OutboundRequestIterator` to use to send a new request to this remote endpoint using the specified constraints. The constraints must be the complete, absolute constraints for the request. If there is a security manager, the `next` method defined on the iterator returned by this method calls the security manager's `checkConnect` method with the endpoint's server host and port.

Uses of InvocationConstraints in net.jini.jeri.tcp

Methods in net.jini.jeri.tcp that return InvocationConstraints
`InvocationConstraints` | `TcpServerEndpoint.checkConstraints(InvocationConstraints constraints)` Verifies that this instance supports the transport layer aspects of all of the specified requirements (both in general and in the current security context), and returns the requirements that must be at least partially implemented by higher layers in order to fully satisfy all of the specified requirements. This method may also return preferences that must be at least partially implemented by higher layers in order to fully satisfy some of the specified preferences. For any given constraint, there must be a clear delineation of which aspects (if any) must be implemented by the transport layer. This method must not return a constraint (as a requirement or a preference, directly or as an element of another constraint) unless this instance can implement all of those aspects. Also, this method must not return a constraint for which all aspects must be implemented by the transport layer. Most of the constraints in the `net.jini.core.constraint` package must be fully implemented by the transport layer and thus must not be returned by this method; the one exception is `Integrity`, for which the transport layer is responsible for the data integrity aspect and higher layers are responsible for the code integrity aspect. For any `ConstraintAlternatives` in the specified constraints, this method should only return a corresponding constraint if all of the alternatives supported by this instance need to be at least partially implemented by higher layers in order to be fully satisfied. The constraints passed to this method may include constraints based on relative time.

Methods in net.jini.jeri.tcp with parameters of type InvocationConstraints
`InvocationConstraints` | `TcpServerEndpoint.checkConstraints(InvocationConstraints constraints)` Verifies that this instance supports the transport layer aspects of all of the specified requirements (both in general and in the current security context), and returns the requirements that must be at least partially implemented by higher layers in order to fully satisfy all of the specified requirements. This method may also return preferences that must be at least partially implemented by higher layers in order to fully satisfy some of the specified preferences. For any given constraint, there must be a clear delineation of which aspects (if any) must be implemented by the transport layer. This method must not return a constraint (as a requirement or a preference, directly or as an element of another constraint) unless this instance can implement all of those aspects. Also, this method must not return a constraint for which all aspects must be implemented by the transport layer. Most of the constraints in the `net.jini.core.constraint` package must be fully implemented by the transport layer and thus must not be returned by this method; the one exception is `Integrity`, for which the transport layer is responsible for the data integrity aspect and higher layers are responsible for the code integrity aspect. For any `ConstraintAlternatives` in the specified constraints, this method should only return a corresponding constraint if all of the alternatives supported by this instance need to be at least partially implemented by higher layers in order to be fully satisfied. The constraints passed to this method may include constraints based on relative time.
`OutboundRequestIterator` | `TcpEndpoint.newRequest(InvocationConstraints constraints)` Returns an `OutboundRequestIterator` to use to send a new request to this remote endpoint using the specified constraints. The constraints must be the complete, absolute constraints for the request. The returned `OutboundRequestIterator`'s `next` method behaves as follows: Initiates an attempt to communicate the request to this remote endpoint.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2004 Sun Microsystems, Inc. All rights reserved