Interface PortBased
- All Superinterfaces:
NetworkBased
- All Known Implementing Classes:
MulticastAppender, MulticastReceiver, SocketHubReceiver, SocketReceiver, SocketReceiver.SocketDetail, UDPAppender, UDPReceiver, XMLSocketReceiver
Net based entities that 'work with' a Port should consider implementing this
interface so that they can be treated generically.
-
Method Summary
Modifier and TypeMethodDescriptionintgetPort()Returns the Port # that this net based thing is using.Methods inherited from interface NetworkBased
getName, isActive
-
Method Details
-
getPort
int getPort()Returns the Port # that this net based thing is using.- Returns:
- int port number
-