com.sun.jini.discovery.internal
Interface EndpointInternals

All Known Implementing Classes:
KerberosEndpoint.KerberosEndpointInternals, SslEndpoint.SslEndpointInternals

public interface EndpointInternals

Provides back-door interface used by EndpointDiscoveryClient and EndpointDiscoveryServer for performing non-public endpoint operations.


Method Summary
 void disableSocketConnect(Endpoint endpoint)
          Causes the given endpoint not to connect sockets it obtains from its socket factory.
 InvocationConstraints getUnfulfilledConstraints(OutboundRequestHandle handle)
          Returns any constraints that must be partially or fully implemented by higher layers for the outbound request represented by the given handle.
 void setConnManagerFactory(Endpoint endpoint, ConnManagerFactory factory)
          Sets the ConnManagerFactory used by the given endpoint to produce ConnManagers for managing connections.
 void setServerConnManager(ServerEndpoint endpoint, ServerConnManager manager)
          Sets the ServerConnManager used by the given endpoint to manage accepted connections.
 

Method Detail

disableSocketConnect

void disableSocketConnect(Endpoint endpoint)
Causes the given endpoint not to connect sockets it obtains from its socket factory.


setConnManagerFactory

void setConnManagerFactory(Endpoint endpoint,
                           ConnManagerFactory factory)
Sets the ConnManagerFactory used by the given endpoint to produce ConnManagers for managing connections.


setServerConnManager

void setServerConnManager(ServerEndpoint endpoint,
                          ServerConnManager manager)
Sets the ServerConnManager used by the given endpoint to manage accepted connections.


getUnfulfilledConstraints

InvocationConstraints getUnfulfilledConstraints(OutboundRequestHandle handle)
Returns any constraints that must be partially or fully implemented by higher layers for the outbound request represented by the given handle.



Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.