APIdia Launch Partner
Top Description Constructors Methods
sun.management.jmxremote

public final Class LocalRMIServerSocketFactory

extends Object
implements RMIServerSocketFactory
Class Inheritance
All Implemented Interfaces
java.rmi.server.RMIServerSocketFactory
Imports
java.io.IOException, java.net.InetAddress, .NetworkInterface, .ServerSocket, .Socket, .SocketException, java.rmi.server.RMIServerSocketFactory, java.util.Enumeration

This RMI server socket factory creates server sockets that will only accept connection requests from clients running on the host where the RMI remote objects have been exported.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ServerSocket
createServerSocket(int port)

Implements java.rmi.server.RMIServerSocketFactory.createServerSocket.

Creates a server socket that only accepts connection requests from clients running on the host where the RMI remote objects have been exported.

public boolean
equals(Object obj)

Overrides java.lang.Object.equals.

Two LocalRMIServerSocketFactory objects are equal if they are of the same type.

public int
hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code value for this LocalRMIServerSocketFactory.

Inherited from java.lang.Object:
clonefinalizegetClassnotifynotifyAlltoStringwaitwaitwait

Constructor Detail

LocalRMIServerSocketFactoryback to summary
public LocalRMIServerSocketFactory()

Method Detail

createServerSocketback to summary
public ServerSocket createServerSocket(int port) throws IOException

Implements java.rmi.server.RMIServerSocketFactory.createServerSocket.

Creates a server socket that only accepts connection requests from clients running on the host where the RMI remote objects have been exported.

Exceptions
IOException:

Doc from java.rmi.server.RMIServerSocketFactory.createServerSocket.

if an I/O error occurs during server socket creation

equalsback to summary
public boolean equals(Object obj)

Overrides java.lang.Object.equals.

Two LocalRMIServerSocketFactory objects are equal if they are of the same type.

Annotations
@Override
hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code value for this LocalRMIServerSocketFactory.

Annotations
@Override