Class MultiIbis

  • All Implemented Interfaces:
    ibis.ipl.Ibis, ibis.ipl.Manageable

    public class MultiIbis
    extends java.lang.Object
    implements ibis.ipl.Ibis
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static ibis.ipl.PortType resolvePortType  
    • Constructor Summary

      Constructors 
      Constructor Description
      MultiIbis​(ibis.ipl.IbisFactory factory, ibis.ipl.RegistryEventHandler registryEventHandler, java.util.Properties userProperties, ibis.ipl.IbisCapabilities capabilities, ibis.ipl.Credentials credentials, byte[] applicationTag, ibis.ipl.PortType[] portTypes, java.lang.String specifiedSubImplementation, MultiIbisStarter multiIbisStarter)  
    • Field Detail

      • resolvePortType

        public static final ibis.ipl.PortType resolvePortType
    • Constructor Detail

      • MultiIbis

        public MultiIbis​(ibis.ipl.IbisFactory factory,
                         ibis.ipl.RegistryEventHandler registryEventHandler,
                         java.util.Properties userProperties,
                         ibis.ipl.IbisCapabilities capabilities,
                         ibis.ipl.Credentials credentials,
                         byte[] applicationTag,
                         ibis.ipl.PortType[] portTypes,
                         java.lang.String specifiedSubImplementation,
                         MultiIbisStarter multiIbisStarter)
    • Method Detail

      • end

        public void end()
                 throws java.io.IOException
        Specified by:
        end in interface ibis.ipl.Ibis
        Throws:
        java.io.IOException
      • registry

        public ibis.ipl.Registry registry()
        Specified by:
        registry in interface ibis.ipl.Ibis
      • poll

        public void poll()
                  throws java.io.IOException
        Specified by:
        poll in interface ibis.ipl.Ibis
        Throws:
        java.io.IOException
      • identifier

        public ibis.ipl.IbisIdentifier identifier()
        Specified by:
        identifier in interface ibis.ipl.Ibis
      • getVersion

        public java.lang.String getVersion()
        Specified by:
        getVersion in interface ibis.ipl.Ibis
      • properties

        public java.util.Properties properties()
        Specified by:
        properties in interface ibis.ipl.Ibis
      • createSendPort

        public ibis.ipl.SendPort createSendPort​(ibis.ipl.PortType portType)
                                         throws java.io.IOException
        Specified by:
        createSendPort in interface ibis.ipl.Ibis
        Throws:
        java.io.IOException
      • createSendPort

        public ibis.ipl.SendPort createSendPort​(ibis.ipl.PortType portType,
                                                java.lang.String name)
                                         throws java.io.IOException
        Specified by:
        createSendPort in interface ibis.ipl.Ibis
        Throws:
        java.io.IOException
      • createSendPort

        public ibis.ipl.SendPort createSendPort​(ibis.ipl.PortType portType,
                                                java.lang.String name,
                                                ibis.ipl.SendPortDisconnectUpcall cU,
                                                java.util.Properties props)
                                         throws java.io.IOException
        Specified by:
        createSendPort in interface ibis.ipl.Ibis
        Throws:
        java.io.IOException
      • closeSendPort

        public void closeSendPort​(MultiSendPort port)
      • createReceivePort

        public ibis.ipl.ReceivePort createReceivePort​(ibis.ipl.PortType portType,
                                                      java.lang.String name)
                                               throws java.io.IOException
        Specified by:
        createReceivePort in interface ibis.ipl.Ibis
        Throws:
        java.io.IOException
      • createReceivePort

        public ibis.ipl.ReceivePort createReceivePort​(ibis.ipl.PortType portType,
                                                      java.lang.String name,
                                                      ibis.ipl.MessageUpcall u)
                                               throws java.io.IOException
        Specified by:
        createReceivePort in interface ibis.ipl.Ibis
        Throws:
        java.io.IOException
      • createReceivePort

        public ibis.ipl.ReceivePort createReceivePort​(ibis.ipl.PortType portType,
                                                      java.lang.String name,
                                                      ibis.ipl.ReceivePortConnectUpcall cU)
                                               throws java.io.IOException
        Specified by:
        createReceivePort in interface ibis.ipl.Ibis
        Throws:
        java.io.IOException
      • createReceivePort

        public ibis.ipl.ReceivePort createReceivePort​(ibis.ipl.PortType portType,
                                                      java.lang.String name,
                                                      ibis.ipl.MessageUpcall u,
                                                      ibis.ipl.ReceivePortConnectUpcall cU,
                                                      java.util.Properties props)
                                               throws java.io.IOException
        Specified by:
        createReceivePort in interface ibis.ipl.Ibis
        Throws:
        java.io.IOException
      • mapIdentifier

        public MultiIbisIdentifier mapIdentifier​(ibis.ipl.IbisIdentifier ibisId,
                                                 java.lang.String ibisName)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • getManagementProperty

        public java.lang.String getManagementProperty​(java.lang.String key)
                                               throws ibis.ipl.NoSuchPropertyException
        Specified by:
        getManagementProperty in interface ibis.ipl.Manageable
        Throws:
        ibis.ipl.NoSuchPropertyException
      • managementProperties

        public java.util.Map<java.lang.String,​java.lang.String> managementProperties()
        Specified by:
        managementProperties in interface ibis.ipl.Manageable
      • printManagementProperties

        public void printManagementProperties​(java.io.PrintStream stream)
        Specified by:
        printManagementProperties in interface ibis.ipl.Manageable
      • setManagementProperties

        public void setManagementProperties​(java.util.Map<java.lang.String,​java.lang.String> properties)
                                     throws ibis.ipl.NoSuchPropertyException
        Specified by:
        setManagementProperties in interface ibis.ipl.Manageable
        Throws:
        ibis.ipl.NoSuchPropertyException
      • setManagementProperty

        public void setManagementProperty​(java.lang.String key,
                                          java.lang.String value)
                                   throws ibis.ipl.NoSuchPropertyException
        Specified by:
        setManagementProperty in interface ibis.ipl.Manageable
        Throws:
        ibis.ipl.NoSuchPropertyException
      • mapSendPortIdentifier

        public ibis.ipl.SendPortIdentifier mapSendPortIdentifier​(ibis.ipl.SendPortIdentifier johnDoe,
                                                                 java.lang.String ibisName)
                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • mapReceivePortIdentifier

        public ibis.ipl.ReceivePortIdentifier mapReceivePortIdentifier​(ibis.ipl.ReceivePortIdentifier johnDoe,
                                                                       java.lang.String ibisName)
                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • isResolved

        public boolean isResolved​(ibis.ipl.IbisIdentifier toResolve)