DatagramSocketImplFactory
Stay organized with collections
Save and categorize content based on your preferences.
This interface defines a factory for datagram socket implementations. It
is used by the classes DatagramSocket
to create actual socket
implementations.
Public Methods
public
abstract
DatagramSocketImpl
createDatagramSocketImpl
()
Creates a new DatagramSocketImpl
instance.
Returns
- a new instance of
DatagramSocketImpl
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDatagramSocketImplFactory\u003c/code\u003e interface defines a factory for creating datagram socket implementations.\u003c/p\u003e\n"],["\u003cp\u003eIt is used by the \u003ccode\u003eDatagramSocket\u003c/code\u003e class to create actual socket implementations.\u003c/p\u003e\n"],["\u003cp\u003eThe primary method, \u003ccode\u003ecreateDatagramSocketImpl()\u003c/code\u003e, creates a new instance of \u003ccode\u003eDatagramSocketImpl\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# DatagramSocketImplFactory\n\npublic interface **DatagramSocketImplFactory** \nThis interface defines a factory for datagram socket implementations. It\nis used by the classes `DatagramSocket` to create actual socket\nimplementations. \n\n##### See Also\n\n- [DatagramSocket](../../../reference/java/net/DatagramSocket.html) \n\n### Public Method Summary\n\n|------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [DatagramSocketImpl](../../../reference/java/net/DatagramSocketImpl.html) | [createDatagramSocketImpl](../../../reference/java/net/DatagramSocketImplFactory.html#createDatagramSocketImpl())() Creates a new `DatagramSocketImpl` instance. |\n\nPublic Methods\n--------------\n\n#### public abstract [DatagramSocketImpl](../../../reference/java/net/DatagramSocketImpl.html)\n**createDatagramSocketImpl**\n()\n\nCreates a new `DatagramSocketImpl` instance. \n\n##### Returns\n\n- a new instance of `DatagramSocketImpl`. \n\n##### See Also\n\n- [DatagramSocketImpl](../../../reference/java/net/DatagramSocketImpl.html)"]]