public class TCPIPProtocolID extends ProtocolID
ProtocolID,
Serialized Form| Constructor and Description |
|---|
TCPIPProtocolID() |
| Modifier and Type | Method and Description |
|---|---|
protected NodeAddressID |
createAddressID(java.lang.String stAddressID,
boolean uniqueAddress)
Creates an address from a string form.
|
boolean |
equals(java.lang.Object o)
Compares two protocol IDs
|
protected LinkFactory.Builder |
getLinkBuilder(java.util.Hashtable settings)
Returns the factory builder for this protocol.
|
boolean |
isActive()
Always returns true.
|
boolean |
requiresUserInteraction()
Always returns false.
|
protected LinkServer |
startLinkServer(NodeAddressID addressID)
Starts the TCP/IP link server at this node using the given address ID.
|
getPosition, hashCodepublic boolean equals(java.lang.Object o)
equals in class ProtocolIDo - an object to compare with this object.true iff the supplied object's class is the same as
the class of this object.public boolean isActive()
isActive in class ProtocolIDpublic boolean requiresUserInteraction()
requiresUserInteraction in class ProtocolIDprotected LinkFactory.Builder getLinkBuilder(java.util.Hashtable settings)
getLinkBuilder in class ProtocolIDsettings - Hashtable containing settings.Builder for constructing Links.protected LinkServer startLinkServer(NodeAddressID addressID) throws java.lang.IllegalArgumentException
startLinkServer in class ProtocolIDaddressID - The address for the server to listen on.LinkServerjava.lang.IllegalArgumentException - if the supplied NodeAddressID is invalid.protected NodeAddressID createAddressID(java.lang.String stAddressID, boolean uniqueAddress) throws java.lang.IllegalArgumentException
createAddressID in class ProtocolIDstAddressID - The address in String form.uniqueAddress - boolean indicating whether address is unique.NodeAddressIDjava.lang.IllegalArgumentException - if the String supplied is invalid.Copyright © 1996–2019. All rights reserved.