Package ibis.ipl.impl.multi
Class MultiSendPort
- java.lang.Object
-
- ibis.ipl.impl.multi.MultiSendPort
-
- All Implemented Interfaces:
ibis.ipl.Manageable,ibis.ipl.SendPort
public class MultiSendPort extends java.lang.Object implements ibis.ipl.SendPort
-
-
Constructor Summary
Constructors Constructor Description MultiSendPort(ibis.ipl.PortType type, MultiIbis ibis, java.lang.String name, ibis.ipl.SendPortDisconnectUpcall connectUpcall, java.util.Properties props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()ibis.ipl.ReceivePortIdentifierconnect(ibis.ipl.IbisIdentifier id, java.lang.String name)ibis.ipl.ReceivePortIdentifierconnect(ibis.ipl.IbisIdentifier id, java.lang.String name, long timeoutMillis, boolean fillTimeout)voidconnect(ibis.ipl.ReceivePortIdentifier receiver)voidconnect(ibis.ipl.ReceivePortIdentifier[] ports)voidconnect(ibis.ipl.ReceivePortIdentifier[] ports, long timeoutMillis, boolean fillTimeout)voidconnect(ibis.ipl.ReceivePortIdentifier receiver, long timeoutMillis, boolean fillTimeout)ibis.ipl.ReceivePortIdentifier[]connect(java.util.Map<ibis.ipl.IbisIdentifier,java.lang.String> ports)ibis.ipl.ReceivePortIdentifier[]connect(java.util.Map<ibis.ipl.IbisIdentifier,java.lang.String> ports, long timeoutMillis, boolean fillTimeout)ibis.ipl.ReceivePortIdentifier[]connectedTo()voiddisconnect(ibis.ipl.IbisIdentifier identifier, java.lang.String name)voiddisconnect(ibis.ipl.ReceivePortIdentifier receiver)java.lang.StringgetManagementProperty(java.lang.String key)ibis.ipl.PortTypegetPortType()ibis.ipl.SendPortIdentifieridentifier()ibis.ipl.ReceivePortIdentifier[]lostConnections()java.util.Map<java.lang.String,java.lang.String>managementProperties()java.lang.Stringname()ibis.ipl.WriteMessagenewMessage()voidprintManagementProperties(java.io.PrintStream stream)voidquit(MultiSendPort port)voidsetManagementProperties(java.util.Map<java.lang.String,java.lang.String> properties)voidsetManagementProperty(java.lang.String key, java.lang.String value)
-
-
-
Constructor Detail
-
MultiSendPort
public MultiSendPort(ibis.ipl.PortType type, MultiIbis ibis, java.lang.String name, ibis.ipl.SendPortDisconnectUpcall connectUpcall, java.util.Properties props) throws java.io.IOException- Throws:
java.io.IOException
-
-
Method Detail
-
close
public void close() throws java.io.IOException- Specified by:
closein interfaceibis.ipl.SendPort- Throws:
java.io.IOException
-
connect
public void connect(ibis.ipl.ReceivePortIdentifier receiver) throws ibis.ipl.ConnectionFailedException- Specified by:
connectin interfaceibis.ipl.SendPort- Throws:
ibis.ipl.ConnectionFailedException
-
connect
public void connect(ibis.ipl.ReceivePortIdentifier receiver, long timeoutMillis, boolean fillTimeout) throws ibis.ipl.ConnectionFailedException- Specified by:
connectin interfaceibis.ipl.SendPort- Throws:
ibis.ipl.ConnectionFailedException
-
connect
public ibis.ipl.ReceivePortIdentifier connect(ibis.ipl.IbisIdentifier id, java.lang.String name) throws ibis.ipl.ConnectionFailedException- Specified by:
connectin interfaceibis.ipl.SendPort- Throws:
ibis.ipl.ConnectionFailedException
-
connect
public ibis.ipl.ReceivePortIdentifier connect(ibis.ipl.IbisIdentifier id, java.lang.String name, long timeoutMillis, boolean fillTimeout) throws ibis.ipl.ConnectionFailedException- Specified by:
connectin interfaceibis.ipl.SendPort- Throws:
ibis.ipl.ConnectionFailedException
-
connect
public void connect(ibis.ipl.ReceivePortIdentifier[] ports) throws ibis.ipl.ConnectionsFailedException- Specified by:
connectin interfaceibis.ipl.SendPort- Throws:
ibis.ipl.ConnectionsFailedException
-
connect
public void connect(ibis.ipl.ReceivePortIdentifier[] ports, long timeoutMillis, boolean fillTimeout) throws ibis.ipl.ConnectionsFailedException- Specified by:
connectin interfaceibis.ipl.SendPort- Throws:
ibis.ipl.ConnectionsFailedException
-
connect
public ibis.ipl.ReceivePortIdentifier[] connect(java.util.Map<ibis.ipl.IbisIdentifier,java.lang.String> ports) throws ibis.ipl.ConnectionsFailedException- Specified by:
connectin interfaceibis.ipl.SendPort- Throws:
ibis.ipl.ConnectionsFailedException
-
connect
public ibis.ipl.ReceivePortIdentifier[] connect(java.util.Map<ibis.ipl.IbisIdentifier,java.lang.String> ports, long timeoutMillis, boolean fillTimeout) throws ibis.ipl.ConnectionsFailedException- Specified by:
connectin interfaceibis.ipl.SendPort- Throws:
ibis.ipl.ConnectionsFailedException
-
connectedTo
public ibis.ipl.ReceivePortIdentifier[] connectedTo()
- Specified by:
connectedToin interfaceibis.ipl.SendPort
-
disconnect
public void disconnect(ibis.ipl.ReceivePortIdentifier receiver) throws java.io.IOException- Specified by:
disconnectin interfaceibis.ipl.SendPort- Throws:
java.io.IOException
-
disconnect
public void disconnect(ibis.ipl.IbisIdentifier identifier, java.lang.String name) throws java.io.IOException- Specified by:
disconnectin interfaceibis.ipl.SendPort- Throws:
java.io.IOException
-
getPortType
public ibis.ipl.PortType getPortType()
- Specified by:
getPortTypein interfaceibis.ipl.SendPort
-
identifier
public ibis.ipl.SendPortIdentifier identifier()
- Specified by:
identifierin interfaceibis.ipl.SendPort
-
lostConnections
public ibis.ipl.ReceivePortIdentifier[] lostConnections()
- Specified by:
lostConnectionsin interfaceibis.ipl.SendPort
-
name
public java.lang.String name()
- Specified by:
namein interfaceibis.ipl.SendPort
-
newMessage
public ibis.ipl.WriteMessage newMessage() throws java.io.IOException- Specified by:
newMessagein interfaceibis.ipl.SendPort- Throws:
java.io.IOException
-
getManagementProperty
public java.lang.String getManagementProperty(java.lang.String key) throws ibis.ipl.NoSuchPropertyException- Specified by:
getManagementPropertyin interfaceibis.ipl.Manageable- Throws:
ibis.ipl.NoSuchPropertyException
-
managementProperties
public java.util.Map<java.lang.String,java.lang.String> managementProperties()
- Specified by:
managementPropertiesin interfaceibis.ipl.Manageable
-
printManagementProperties
public void printManagementProperties(java.io.PrintStream stream)
- Specified by:
printManagementPropertiesin interfaceibis.ipl.Manageable
-
setManagementProperties
public void setManagementProperties(java.util.Map<java.lang.String,java.lang.String> properties) throws ibis.ipl.NoSuchPropertyException- Specified by:
setManagementPropertiesin interfaceibis.ipl.Manageable- Throws:
ibis.ipl.NoSuchPropertyException
-
setManagementProperty
public void setManagementProperty(java.lang.String key, java.lang.String value) throws ibis.ipl.NoSuchPropertyException- Specified by:
setManagementPropertyin interfaceibis.ipl.Manageable- Throws:
ibis.ipl.NoSuchPropertyException
-
quit
public void quit(MultiSendPort port)
-
-