ProtocolFamily interface in Java

java.net.ProtocolFamily

Represents a family of communication protocols.

Declaration

public interface ProtocolFamily {
       
        String name();
    }


Implementing Classes:

StandardProtocolFamily

Methods

1. name()

String java.net.ProtocolFamily.name()

Returns the name of the protocol family.

Parameters: NA

Returns: the name of the protocol family.

Exceptions: NA

No comments:

Post a Comment