public class InterProcessCommFactorySocket extends InterProcessCommFactory
sVersion
Constructor and Description |
---|
InterProcessCommFactorySocket() |
Modifier and Type | Method and Description |
---|---|
InterProcessComm |
create(Address_InterProcessComm addr)
Creates an instance of the InterProcessComm for the given communication implementation.
|
InterProcessComm |
create(java.lang.String protocolAndOwnAddr)
Creates an instance of the InterProcessComm for the given communication implementation.
|
InterProcessComm |
create(java.lang.String protocolAndOwnAddr,
int nPort)
Creates a InterProcessComm from a parameter String.
|
Address_InterProcessComm |
createAddress(java.lang.String protocolAndAddr)
Creates an address for InterProcesscommunication with given description.
|
Address_InterProcessComm |
createAddress(java.lang.String protocolAndOwnAddr,
int nPort)
Creates an address information for the InterProcessComm from a parameter String.
|
static Address_InterProcessComm |
createAddressSocket(java.lang.String type,
java.lang.String addr,
int nPort) |
getInstance
public InterProcessComm create(java.lang.String protocolAndOwnAddr)
InterProcessCommFactory
create
in class InterProcessCommFactory
protocolAndOwnAddr
- It determines the communication channel. Use "UDP:0.0.0.0:6000" for example
to create an UDP-Socket communication which uses the port 6000 on all existing network adapters.public InterProcessComm create(java.lang.String protocolAndOwnAddr, int nPort)
create
in class InterProcessCommFactory
protocolAndOwnAddr
- A string which determines the kind of communication and the own address (slot).
It depends on the underlying system which kind of communication are supportedpublic InterProcessComm create(Address_InterProcessComm addr)
InterProcessCommFactory
create
in class InterProcessCommFactory
addr
- The own address, see InterProcessCommFactory.createAddress(String)
and InterProcessCommFactory.createAddress(String, int)
.public Address_InterProcessComm createAddress(java.lang.String protocolAndOwnAddr, int nPort)
createAddress
in class InterProcessCommFactory
protocolAndOwnAddr
- A string which determines the kind of communication and the address (slot).
The general format is: nPort
- Numeric value for the fine definition. Port number for Socket.public Address_InterProcessComm createAddress(java.lang.String protocolAndAddr)
createAddress
in class InterProcessCommFactory
protocolAndAddr
- String determines the channel. For example "UDP:0.0.0.0:6000" to create a socket communication.public static Address_InterProcessComm createAddressSocket(java.lang.String type, java.lang.String addr, int nPort)